diff options
author | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | 952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGenCXX/pragma-weak.cpp | |
parent | ea266cad53e3d49771fa38103913d3ec7a166694 (diff) | |
download | FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz |
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/CodeGenCXX/pragma-weak.cpp')
-rw-r--r-- | test/CodeGenCXX/pragma-weak.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGenCXX/pragma-weak.cpp b/test/CodeGenCXX/pragma-weak.cpp index ed537ff..c033079 100644 --- a/test/CodeGenCXX/pragma-weak.cpp +++ b/test/CodeGenCXX/pragma-weak.cpp @@ -10,22 +10,22 @@ int zex; #pragma weak foo struct S { void foo(); }; void S::foo() {} -// CHECK: define void @_ZN1S3fooEv( +// CHECK-LABEL: define void @_ZN1S3fooEv( #pragma weak zed namespace bar { void zed() {} } -// CHECK: define void @_ZN3bar3zedEv( +// CHECK-LABEL: define void @_ZN3bar3zedEv( #pragma weak bah void bah() {} -// CHECK: define void @_Z3bahv( +// CHECK-LABEL: define void @_Z3bahv( #pragma weak baz extern "C" void baz() {} -// CHECK: define weak void @baz( +// CHECK-LABEL: define weak void @baz( #pragma weak _Z3baxv void bax() {} // GCC produces a weak symbol for this one, but it doesn't look like a good // idea to expose the mangling to the pragma unless we really have to. -// CHECK: define void @_Z3baxv( +// CHECK-LABEL: define void @_Z3baxv( |