diff options
Diffstat (limited to 'clang/test/CodeGen/2010-02-16-DbgScopes.c')
-rw-r--r-- | clang/test/CodeGen/2010-02-16-DbgScopes.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/test/CodeGen/2010-02-16-DbgScopes.c b/clang/test/CodeGen/2010-02-16-DbgScopes.c index b11f920156e..58bda9a2d7c 100644 --- a/clang/test/CodeGen/2010-02-16-DbgScopes.c +++ b/clang/test/CodeGen/2010-02-16-DbgScopes.c @@ -1,5 +1,10 @@ -// 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 +// CHECK: DW_TAG_lexical_block extern int bar(); extern void foobar(); |