aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/static-order.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-20 17:23:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-20 17:23:39 +0000
commit600d47e8d5edc93a08ada8086db23d1d434ce583 (patch)
tree2ce7069156fbc21fd527faa4937cccfb98afe04c /test/CodeGen/static-order.c
parent50a4487683a7e09fb93e8b506181e034241a0ffe (diff)
Fix some codegen tests to include positive checks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/static-order.c')
-rw-r--r--test/CodeGen/static-order.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/static-order.c b/test/CodeGen/static-order.c
index 243e96bf3e..58340b6913 100644
--- a/test/CodeGen/static-order.c
+++ b/test/CodeGen/static-order.c
@@ -1,4 +1,7 @@
-// RUN: clang-cc -emit-llvm -o - %s | not grep "zeroinitializer"
+// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// CHECK: ModuleID
+// CHECK-NOT: zeroinitializer
+// CHECK: define i8* @f
struct s {
int a;