1 // Check that the CHECK lines are generated before the definition and not the declaration
2 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu %s -emit-llvm -o - | FileCheck %s
3 
4 int foo(int arg);
5 
6 void empty_function(void);
7 
main()8 int main() {
9   empty_function();
10   return foo(1);
11 }
12 
foo(int arg)13 int foo(int arg) {
14   return arg;
15 }
16 
empty_function(void)17 void empty_function(void) {}
18