From 4362261b0093730e46ffcad910e8b465cf0bb1cb Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Thu, 15 Aug 2013 06:47:53 +0000 Subject: CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. llvm-svn: 188447 --- clang/test/CodeGen/c-strings.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clang/test/CodeGen/c-strings.c') diff --git a/clang/test/CodeGen/c-strings.c b/clang/test/CodeGen/c-strings.c index 60a6b01..ff86619 100644 --- a/clang/test/CodeGen/c-strings.c +++ b/clang/test/CodeGen/c-strings.c @@ -19,13 +19,13 @@ unsigned char align = 1; void bar(const char *); -// CHECK: define void @f0() +// CHECK-LABEL: define void @f0() void f0() { bar("hello"); // CHECK: call void @bar({{.*}} @.str } -// CHECK: define void @f1() +// CHECK-LABEL: define void @f1() void f1() { static char *x = "hello"; bar(x); @@ -33,14 +33,14 @@ void f1() { // CHECK: call void @bar(i8* [[T1:%.*]]) } -// CHECK: define void @f2() +// CHECK-LABEL: define void @f2() void f2() { static char x[] = "hello"; bar(x); // CHECK: call void @bar({{.*}} @f2.x } -// CHECK: define void @f3() +// CHECK-LABEL: define void @f3() void f3() { static char x[8] = "hello"; bar(x); @@ -49,7 +49,7 @@ void f3() { void gaz(void *); -// CHECK: define void @f4() +// CHECK-LABEL: define void @f4() void f4() { static struct s { char *name; -- cgit v1.1