[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / dllexport-pr26549.cpp
blobc5ac1c1dea3ac52c389c2333cd8bfdfd7012a458
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 {{.*}} %struct.MessageT* @"??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!