diff options
Diffstat (limited to 'clang/test/CodeGen/emit-all-decls.c')
-rw-r--r-- | clang/test/CodeGen/emit-all-decls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGen/emit-all-decls.c b/clang/test/CodeGen/emit-all-decls.c new file mode 100644 index 0000000..deeb573 --- /dev/null +++ b/clang/test/CodeGen/emit-all-decls.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm -o %t %s +// RUN: not grep "@foo" %t +// RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s +// RUN: grep "@foo" %t + +static void foo() { + +} |