blob: 8e2e4f69fe07e59cdf71d2fc87e944e33c346fb9 [file] [log] [blame]
// Check that the CHECK lines are generated before the definition and not the declaration
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu %s -emit-llvm -o - | FileCheck %s
int foo();
void empty_function();
int main() {
empty_function();
return foo();
}
int foo() {
return 1;
}
void empty_function() {}