diff options
Diffstat (limited to 'test/CodeGen/merge-statics.c')
-rw-r--r-- | test/CodeGen/merge-statics.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/merge-statics.c b/test/CodeGen/merge-statics.c index 6716935..4baf902 100644 --- a/test/CodeGen/merge-statics.c +++ b/test/CodeGen/merge-statics.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 < %s -emit-llvm | grep internal | count 1 +// RUN: %clang_cc1 < %s -emit-llvm | FileCheck %s // The two decls for 'a' should merge into one llvm GlobalVariable. @@ -11,3 +11,6 @@ static struct s a = { 10 }; +// CHECK-NOT: internal global +// CHECK: @a = internal global %struct.s { i32 10 } +// CHECK-NOT: internal-global |