From 35d0e27b78c59ce89ffff0ac0d68da2c92476ae6 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 24 Jan 2013 22:47:48 +0000 Subject: FileCheck-ify some debug info scope related tests. llvm-svn: 173379 --- clang/test/CodeGen/2010-03-5-LexicalScope.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'clang/test/CodeGen/2010-03-5-LexicalScope.c') diff --git a/clang/test/CodeGen/2010-03-5-LexicalScope.c b/clang/test/CodeGen/2010-03-5-LexicalScope.c index 0f63ff6914b..511372d1583 100644 --- a/clang/test/CodeGen/2010-03-5-LexicalScope.c +++ b/clang/test/CodeGen/2010-03-5-LexicalScope.c @@ -1,4 +1,7 @@ -// 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 +// CHECK: DW_TAG_lexical_block int foo(int i) { if (i) { int j = 2; -- cgit v1.2.3