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