xref: /llvm-project/clang/test/CodeGen/emit-all-decls.c (revision adc402bf3d0565ac2bc7efbdd05f0d846e818041)
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
2 // RUN: not grep "@foo" %t
3 // RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s
4 // RUN: grep "@foo" %t
5 
foo(void)6 static void foo(void) {
7 
8 }
9