aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/visibility-inlines-hidden.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2013-12-22 00:07:40 +0000
committerDimitry Andric <dim@FreeBSD.org>2013-12-22 00:07:40 +0000
commitbfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch)
treedf8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGenCXX/visibility-inlines-hidden.cpp
parent6a0372513edbc473b538d2f724efac50405d6fef (diff)
downloadsrc-bfef399519ca9b8a4b4c6b563253bad7e0eeffe0.tar.gz
src-bfef399519ca9b8a4b4c6b563253bad7e0eeffe0.zip
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):vendor/clang/clang-release_34-r197841
Notes
Notes: svn path=/vendor/clang/dist/; revision=259701 svn path=/vendor/clang/clang-release_34-r197841/; revision=259703; tag=vendor/clang/clang-release_34-r197841
Diffstat (limited to 'test/CodeGenCXX/visibility-inlines-hidden.cpp')
-rw-r--r--test/CodeGenCXX/visibility-inlines-hidden.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/CodeGenCXX/visibility-inlines-hidden.cpp b/test/CodeGenCXX/visibility-inlines-hidden.cpp
index e5bc743e4da9..7c0757b2829a 100644
--- a/test/CodeGenCXX/visibility-inlines-hidden.cpp
+++ b/test/CodeGenCXX/visibility-inlines-hidden.cpp
@@ -37,31 +37,31 @@ struct __attribute__((visibility("default"))) X2 {
extern template struct X1<float>;
void use(X0 *x0, X1<int> *x1, X2 *x2, X1<float> *x3) {
- // CHECK: define linkonce_odr void @_ZN2X02f1Ev
+ // CHECK-LABEL: define linkonce_odr void @_ZN2X02f1Ev
x0->f1();
- // CHECK: define linkonce_odr hidden void @_ZN2X02f2Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X02f2Ev
x0->f2();
- // CHECK: define linkonce_odr hidden void @_ZN2X02f3Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X02f3Ev
x0->f3();
- // CHECK: define linkonce_odr hidden void @_ZN2X02f5Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X02f5Ev
X0::f5();
- // CHECK: define linkonce_odr hidden void @_ZN2X02f6Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X02f6Ev
x0->X0::f6();
- // CHECK: define linkonce_odr void @_ZN2X1IiE2f1Ev
+ // CHECK-LABEL: define linkonce_odr void @_ZN2X1IiE2f1Ev
x1->f1();
- // CHECK: define linkonce_odr hidden void @_ZN2X1IiE2f2Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X1IiE2f2Ev
x1->f2();
- // CHECK: define linkonce_odr hidden void @_ZN2X1IiE2f3Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X1IiE2f3Ev
x1->f3();
- // CHECK: define linkonce_odr hidden void @_ZN2X1IiE2f4Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X1IiE2f4Ev
x1->f4();
- // CHECK: define linkonce_odr hidden void @_ZN2X1IiE2f5Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X1IiE2f5Ev
X1<int>::f5();
- // CHECK: define linkonce_odr hidden void @_ZN2X1IiE2f6Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X1IiE2f6Ev
x1->X1::f6();
- // CHECK: define linkonce_odr hidden void @_ZN2X22f2Ev
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN2X22f2Ev
x2->f2();
- // CHECK: define available_externally void @_ZN2X1IfE2f2Ev
+ // CHECK-LABEL: define available_externally void @_ZN2X1IfE2f2Ev
x3->f2();
}
@@ -95,7 +95,7 @@ namespace test2 {
ns::foo<arg>();
}
- // CHECK: define available_externally void @_ZN5test22ns3fooINS_1BINS_1AEEEEEvv()
+ // CHECK-LABEL: define available_externally void @_ZN5test22ns3fooINS_1BINS_1AEEEEEvv()
}
namespace PR11642 {
@@ -106,7 +106,7 @@ namespace PR11642 {
};
extern template class Foo<int>;
template class Foo<int>;
- // CHECK: define weak_odr i32 @_ZN7PR116423FooIiE3fooEi
+ // CHECK-LABEL: define weak_odr i32 @_ZN7PR116423FooIiE3fooEi
}
// Test that clang implements the new gcc behaviour for inline functions.
@@ -122,9 +122,9 @@ namespace test3 {
foo();
zed<int>();
}
- // CHECK: define weak_odr void @_ZN5test33zedIfEEvv
- // CHECK: define linkonce_odr hidden void @_ZN5test33fooEv
- // CHECK: define linkonce_odr hidden void @_ZN5test33zedIiEEvv
+ // CHECK-LABEL: define weak_odr void @_ZN5test33zedIfEEvv
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN5test33fooEv
+ // CHECK-LABEL: define linkonce_odr hidden void @_ZN5test33zedIiEEvv
}
namespace test4 {
@@ -133,7 +133,7 @@ namespace test4 {
void bar() {
foo();
}
- // CHECK: define available_externally void @_ZN5test43fooE
+ // CHECK-LABEL: define available_externally void @_ZN5test43fooE
}
namespace test5 {