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/delete-two-arg.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/delete-two-arg.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/delete-two-arg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/delete-two-arg.cpp b/clang/test/CodeGenCXX/delete-two-arg.cpp index 6e1113a9933..f8e6bff2958 100644 --- a/clang/test/CodeGenCXX/delete-two-arg.cpp +++ b/clang/test/CodeGenCXX/delete-two-arg.cpp @@ -5,7 +5,7 @@ typedef __typeof(sizeof(int)) size_t; namespace test1 { struct A { void operator delete(void*,size_t); int x; }; - // CHECK: define void @_ZN5test11aEPNS_1AE( + // CHECK-LABEL: define void @_ZN5test11aEPNS_1AE( void a(A *x) { // CHECK: load // CHECK-NEXT: icmp eq {{.*}}, null @@ -35,7 +35,7 @@ namespace test2 { return ::new A[10]; } - // CHECK: define void @_ZN5test24testEPNS_1AE( + // CHECK-LABEL: define void @_ZN5test24testEPNS_1AE( void test(A *p) { // CHECK: [[P:%.*]] = alloca [[A]]*, align 4 // CHECK-NEXT: store [[A]]* {{%.*}}, [[A]]** [[P]], align 4 @@ -60,7 +60,7 @@ namespace test3 { }; struct B : A {}; - // CHECK: define void @_ZN5test34testEv() + // CHECK-LABEL: define void @_ZN5test34testEv() void test() { // CHECK: call noalias i8* @_Znaj(i32 24) // CHECK-NEXT: bitcast |

