summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/static-order.c
diff options
context:
space:
mode:
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 243e96b..58340b6 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;
OpenPOWER on IntegriCloud