// RUN: %clang_cc1 %s -triple i686-pc-win32 -fms-extensions -emit-llvm -o - | FileCheck %s template struct __declspec(dllimport) S { S(); }; template struct __declspec(dllimport) U { static S u; }; template S U::u; template S U::u; // CHECK-NOT: define internal void @"\01??__Eu@?$U@H@@2U?$S@H@@A@YAXXZ"( S &i = U::u;