summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2010-02-16-DbgScopes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2010-02-16-DbgScopes.c')
-rw-r--r--test/CodeGen/2010-02-16-DbgScopes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/2010-02-16-DbgScopes.c b/test/CodeGen/2010-02-16-DbgScopes.c
index b11f920..36484a4 100644
--- a/test/CodeGen/2010-02-16-DbgScopes.c
+++ b/test/CodeGen/2010-02-16-DbgScopes.c
@@ -1,5 +1,9 @@
-// RUN: %clang_cc1 -emit-llvm -g < %s | grep lexical | count 5
+// RUN: %clang_cc1 -emit-llvm -g < %s | FileCheck %s
// Test to check number of lexical scope identified in debug info.
+// CHECK: DW_TAG_lexical_block
+// CHECK: DW_TAG_lexical_block
+// CHECK: DW_TAG_lexical_block
+// CHECK: DW_TAG_lexical_block
extern int bar();
extern void foobar();
OpenPOWER on IntegriCloud