diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
commit | 4362261b0093730e46ffcad910e8b465cf0bb1cb (patch) | |
tree | b05fa6d247505d0ab46b16619f702532e189f698 /clang/test/CodeGenCXX/partial-destruction.cpp | |
parent | 83e042a21b5392882ccc020baa9ade52851b5903 (diff) | |
download | bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.tar.gz bcm5719-llvm-4362261b0093730e46ffcad910e8b465cf0bb1cb.zip |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
llvm-svn: 188447
Diffstat (limited to 'clang/test/CodeGenCXX/partial-destruction.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/partial-destruction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/partial-destruction.cpp b/clang/test/CodeGenCXX/partial-destruction.cpp index f232a159eda..22daebe47ba 100644 --- a/clang/test/CodeGenCXX/partial-destruction.cpp +++ b/clang/test/CodeGenCXX/partial-destruction.cpp @@ -11,7 +11,7 @@ namespace test0 { A as[10] = { 5, 7 }; opaque(); } - // CHECK: define void @_ZN5test04testEv() + // CHECK-LABEL: define void @_ZN5test04testEv() // CHECK: [[AS:%.*]] = alloca [10 x [[A:%.*]]], align // CHECK-NEXT: [[ENDVAR:%.*]] = alloca [[A]]* // CHECK-NEXT: [[EXN:%.*]] = alloca i8* @@ -98,7 +98,7 @@ namespace test1 { void test() { B v = { 5, 6, 7, 8 }; } - // CHECK: define void @_ZN5test14testEv() + // CHECK-LABEL: define void @_ZN5test14testEv() // CHECK: [[V:%.*]] = alloca [[B:%.*]], align 4 // CHECK-NEXT: alloca i8* // CHECK-NEXT: alloca i32 @@ -128,7 +128,7 @@ namespace test2 { void test() { A v[4][7]; - // CHECK: define void @_ZN5test24testEv() + // CHECK-LABEL: define void @_ZN5test24testEv() // CHECK: [[V:%.*]] = alloca [4 x [7 x [[A:%.*]]]], align 1 // CHECK-NEXT: alloca i8* // CHECK-NEXT: alloca i32 |