diff options
Diffstat (limited to 'clang/test/CodeGenCXX/windows-itanium-dllexport.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/windows-itanium-dllexport.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/clang/test/CodeGenCXX/windows-itanium-dllexport.cpp b/clang/test/CodeGenCXX/windows-itanium-dllexport.cpp index c09fa30d761a..334cebff99da 100644 --- a/clang/test/CodeGenCXX/windows-itanium-dllexport.cpp +++ b/clang/test/CodeGenCXX/windows-itanium-dllexport.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-llvm -triple i686-windows-itanium -fdeclspec %s -o - | FileCheck %s --check-prefixes=CHECK,WI -// RUN: %clang_cc1 -emit-llvm -triple x86_64-scei-ps4 -fdeclspec %s -o - | FileCheck %s --check-prefixes=CHECK,PS4 -// RUN: %clang_cc1 -emit-llvm -triple x86_64-sie-ps5 -fdeclspec %s -o - | FileCheck %s --check-prefixes=CHECK,PS4 +// RUN: %clang_cc1 -emit-llvm -triple x86_64-scei-ps4 -fdeclspec %s -o - | FileCheck %s --check-prefixes=CHECK,PS +// RUN: %clang_cc1 -emit-llvm -triple x86_64-sie-ps5 -fdeclspec %s -o - | FileCheck %s --check-prefixes=CHECK,PS #define JOIN2(x, y) x##y #define JOIN(x, y) JOIN2(x, y) @@ -27,18 +27,14 @@ template class __declspec(dllexport) c<int>; extern template class c<char>; template class __declspec(dllexport) c<char>; -// WI: define {{.*}} dllexport {{.*}} @_ZN1cIcEaSERKS0_ -// WI: define {{.*}} dllexport {{.*}} @_ZN1cIcE1fEv -// PS4-NOT: @_ZN1cIcEaSERKS0_ -// PS4: define weak_odr void @_ZN1cIcE1fEv +// CHECK: define {{.*}} dllexport {{.*}} @_ZN1cIcEaSERKS0_ +// CHECK: define {{.*}} dllexport {{.*}} @_ZN1cIcE1fEv c<double> g; template class __declspec(dllexport) c<double>; -// WI: define {{.*}} dllexport {{.*}} @_ZN1cIdEaSERKS0_ -// WI: define {{.*}} dllexport {{.*}} @_ZN1cIdE1fEv -// PS4-NOT: @_ZN1cIdEaSERKS0_ -// PS4: define weak_odr void @_ZN1cIdE1fEv +// CHECK: define {{.*}} dllexport {{.*}} @_ZN1cIdEaSERKS0_ +// CHECK: define {{.*}} dllexport {{.*}} @_ZN1cIdE1fEv template <class T> struct outer { @@ -59,4 +55,4 @@ USEMEMFUNC(outer<char>::inner, f) // CHECK-DAG: declare dllimport {{.*}} @_ZN5outerIcE1fEv // WI-DAG: define {{.*}} @_ZN5outerIcE5inner1fEv -// PS4-DAG: declare {{.*}} @_ZN5outerIcE5inner1fEv +// PS-DAG: declare {{.*}} @_ZN5outerIcE5inner1fEv |
