[cfe-commits] r63777 - /cfe/trunk/test/CodeGen/emit-all-decls.c

Daniel Dunbar daniel at zuster.org
Wed Feb 4 13:20:25 PST 2009


Author: ddunbar
Date: Wed Feb  4 15:20:25 2009
New Revision: 63777

URL: http://llvm.org/viewvc/llvm-project?rev=63777&view=rev
Log:
Test case for -femit-all-decls.

Added:
    cfe/trunk/test/CodeGen/emit-all-decls.c

Added: cfe/trunk/test/CodeGen/emit-all-decls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/emit-all-decls.c?rev=63777&view=auto

==============================================================================
--- cfe/trunk/test/CodeGen/emit-all-decls.c (added)
+++ cfe/trunk/test/CodeGen/emit-all-decls.c Wed Feb  4 15:20:25 2009
@@ -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() {
+  
+}





More information about the cfe-commits mailing list