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 | 93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch) | |
tree | 938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenCXX/mangle-nullptr-arg.cpp | |
parent | 233fbe1f56183878167a56be53425a6dd25ba334 (diff) |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-nullptr-arg.cpp')
-rw-r--r-- | test/CodeGenCXX/mangle-nullptr-arg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenCXX/mangle-nullptr-arg.cpp b/test/CodeGenCXX/mangle-nullptr-arg.cpp index 07bf52fc90..b55ea6dd2d 100644 --- a/test/CodeGenCXX/mangle-nullptr-arg.cpp +++ b/test/CodeGenCXX/mangle-nullptr-arg.cpp @@ -2,15 +2,15 @@ template<int *ip> struct IP {}; -// CHECK: define void @_Z5test12IPILPi0EE +// CHECK-LABEL: define void @_Z5test12IPILPi0EE void test1(IP<nullptr>) {} struct X{ }; template<int X::*pm> struct PM {}; -// CHECK: define void @_Z5test22PMILM1Xi0EE +// CHECK-LABEL: define void @_Z5test22PMILM1Xi0EE void test2(PM<nullptr>) { } -// CHECK: define void @_Z5test316DependentTypePtrIPiLS0_0EE +// CHECK-LABEL: define void @_Z5test316DependentTypePtrIPiLS0_0EE template<typename T, T x> struct DependentTypePtr {}; void test3(DependentTypePtr<int*,nullptr>) { } |