summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/inline-functions.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-08-15 06:47:53 +0000
commit93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch)
tree938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenCXX/inline-functions.cpp
parent233fbe1f56183878167a56be53425a6dd25ba334 (diff)
downloadclang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz
clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.bz2
clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.xz
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/inline-functions.cpp')
-rw-r--r--test/CodeGenCXX/inline-functions.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGenCXX/inline-functions.cpp b/test/CodeGenCXX/inline-functions.cpp
index 8c011de28a..9f8e536a3b 100644
--- a/test/CodeGenCXX/inline-functions.cpp
+++ b/test/CodeGenCXX/inline-functions.cpp
@@ -5,7 +5,7 @@ struct A {
inline void f();
};
-// CHECK-NOT: define void @_ZN1A1fEv
+// CHECK-NOT-LABEL: define void @_ZN1A1fEv
void A::f() { }
template<typename> struct B { };
@@ -19,13 +19,13 @@ void B<char>::f() { }
// We need a final CHECK line here.
-// CHECK: define void @_Z1fv
+// CHECK-LABEL: define void @_Z1fv
void f() { }
// <rdar://problem/8740363>
inline void f1(int);
-// CHECK: define linkonce_odr void @_Z2f1i
+// CHECK-LABEL: define linkonce_odr void @_Z2f1i
void f1(int) { }
void test_f1() { f1(17); }
@@ -38,7 +38,7 @@ namespace test1 {
void g() {}
};
- // CHECK: define linkonce_odr void @_ZN5test11C4funcEv(
+ // CHECK-LABEL: define linkonce_odr void @_ZN5test11C4funcEv(
class C {
public:
@@ -65,5 +65,5 @@ namespace test2 {
A a;
f(a);
}
- // CHECK: define linkonce_odr void @_ZN5test21fERKNS_1AE
+ // CHECK-LABEL: define linkonce_odr void @_ZN5test21fERKNS_1AE
}