diff options
Diffstat (limited to 'test/CodeGenCXX/pragma-weak.cpp')
-rw-r--r-- | test/CodeGenCXX/pragma-weak.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/pragma-weak.cpp b/test/CodeGenCXX/pragma-weak.cpp index c03307914040..e2d464818edb 100644 --- a/test/CodeGenCXX/pragma-weak.cpp +++ b/test/CodeGenCXX/pragma-weak.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s #pragma weak zex int zex; @@ -10,7 +10,7 @@ int zex; #pragma weak foo struct S { void foo(); }; void S::foo() {} -// CHECK-LABEL: define void @_ZN1S3fooEv( +// CHECK-LABEL: define {{.*}}void @_ZN1S3fooEv( #pragma weak zed namespace bar { void zed() {} } |