1 // RUN: %clang_cc1 %s -fms-extensions -triple x86_64-windows-msvc -emit-llvm -o - | FileCheck %s
3 template <typename
> struct MessageT
{ };
4 extern template struct MessageT
<int>;
6 // CHECK: define weak_odr dso_local dllexport {{.*}} ptr @"??4?$MessageT@H@@QEAAAEAU0@AEBU0@@Z"(
7 template struct __declspec(dllexport
) MessageT
<int>;
8 // Previously we crashed when this dllexport was the last thing in the file.
9 // DO NOT ADD MORE TESTS AFTER THIS LINE!