1 // RUN: %clang_cc1 -std=c++11 -triple i686-windows -fdeclspec -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-MS
2 // RUN: %clang_cc1 -std=c++11 -triple i686-windows-itanium -fdeclspec -emit-llvm %s -o - | FileCheck %s -check-prefix CHECK-IA
10 extern template class t<char>;
11 template class __declspec(dllexport) t<char>;
13 // CHECK-MS: dllexport {{.*}} @"\01??4?$t@D@@QAEAAV0@ABV0@@Z"
14 // CHECK-MS: dllexport {{.*}} @"\01??4?$s@D@@QAEAAU0@ABU0@@Z"
16 // CHECK-IA: dllexport {{.*}} @_ZN1tIcEaSERKS0_
17 // CHECK-IA: dllexport {{.*}} @_ZN1sIcEaSERKS0_