[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / dllexport-pr26549.cpp
blob711fc2cdafa801ac24ee672045506b13aa6fb71d
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!