aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m')
-rw-r--r--test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m b/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
index 5186b20310a6..3fb98c54da26 100644
--- a/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
+++ b/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -x objective-c -emit-llvm -g < %s | grep subprogram | grep "i32 9"
+// RUN: %clang_cc1 -x objective-c -emit-llvm -g < %s | FileCheck "%s"
// Test to check that subprogram start location.
@interface Foo
@@ -7,6 +7,7 @@
@implementation Foo
-(int) barMethod {
+// CHECK: [ DW_TAG_subprogram ] [line [[@LINE-1]]]
int i = 0;
int j = 1;
int k = 1;