summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2010-03-5-LexicalScope.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2010-03-5-LexicalScope.c')
-rw-r--r--test/CodeGen/2010-03-5-LexicalScope.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/2010-03-5-LexicalScope.c b/test/CodeGen/2010-03-5-LexicalScope.c
index 0f63ff6..e0e41dd 100644
--- a/test/CodeGen/2010-03-5-LexicalScope.c
+++ b/test/CodeGen/2010-03-5-LexicalScope.c
@@ -1,4 +1,6 @@
-// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o - | grep DW_TAG_lexical_block | count 3
+// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o - | FileCheck %s
+// CHECK: DW_TAG_lexical_block
+// CHECK: DW_TAG_lexical_block
int foo(int i) {
if (i) {
int j = 2;
OpenPOWER on IntegriCloud