mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

It is not needed after LLVM r327734. Now it will be easier to copy-paste IR symbol names from Clang. llvm-svn: 327738
19 lines
619 B
C++
19 lines
619 B
C++
// RUN: %clang_cc1 -std=c++11 -triple i686-windows -fdeclspec -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MS
|
|
// RUN: %clang_cc1 -std=c++11 -triple i686-windows-itanium -fdeclspec -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-IA
|
|
|
|
template <typename>
|
|
struct s {};
|
|
|
|
template <typename T_>
|
|
class t : s<T_> {};
|
|
|
|
extern template class t<char>;
|
|
template class __declspec(dllexport) t<char>;
|
|
|
|
// CHECK-MS: dllexport {{.*}} @"??4?$t@D@@QAEAAV0@ABV0@@Z"
|
|
// CHECK-MS: dllexport {{.*}} @"??4?$s@D@@QAEAAU0@ABU0@@Z"
|
|
|
|
// CHECK-IA: dllexport {{.*}} @_ZN1tIcEaSERKS0_
|
|
// CHECK-IA: dllexport {{.*}} @_ZN1sIcEaSERKS0_
|
|
|