diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-04 21:20:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-04 21:20:25 +0000 |
commit | 326a3277dec6642fddccd1c06a8d7ba6c3ae3e71 (patch) | |
tree | cfed17b8c8e79f3dece64b72663d635d620bd8d5 /test/CodeGen | |
parent | d604c40e933c445ff33ac83d62cc6b1adcf7014c (diff) | |
download | clang-326a3277dec6642fddccd1c06a8d7ba6c3ae3e71.tar.gz |
Test case for -femit-all-decls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-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 0000000000..68b6aecd67 --- /dev/null +++ b/test/CodeGen/emit-all-decls.c @@ -0,0 +1,8 @@ +// RUN: clang -emit-llvm -o %t %s && +// RUN: not grep "@foo" %t && +// RUN: clang -femit-all-decls -emit-llvm -o %t %s && +// RUN: grep "@foo" %t + +static void foo() { + +} |