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/attr-weakref.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGen/attr-weakref.c') diff --git a/clang/test/CodeGen/attr-weakref.c b/clang/test/CodeGen/attr-weakref.c index 560d39141ca..248860d5bcd 100644 --- a/clang/test/CodeGen/attr-weakref.c +++ b/clang/test/CodeGen/attr-weakref.c @@ -8,7 +8,7 @@ void test1_h(void) { test1_g(); } -// CHECK: define void @test2_f() +// CHECK-LABEL: define void @test2_f() void test2_f(void) {} static void test2_g(void) __attribute__((weakref("test2_f"))); void test2_h(void) { @@ -25,7 +25,7 @@ void test3_h(void) { test3_g(); } -// CHECK: define void @test4_f() +// CHECK-LABEL: define void @test4_f() void test4_f(void); static void test4_g(void) __attribute__((weakref("test4_f"))); void test4_h(void) { -- cgit v1.2.3