// RUN: %clang_cc1 -fcxx-exceptions -triple=x86_64-windows-msvc \ // RUN: -Wmicrosoft-template -fms-compatibility -emit-llvm %s -o - \ // RUN: | FileCheck %s template struct T { virtual void c(); T(a h) {} }; struct m { template void ab(j ac) { using ad = T; ad j(ac); } }; template struct n { template n(j ac) { q.ab(ac); } ae q; }; class s : n { using ag = n; public: template s(j ac) : ag(ac) {} }; struct ah { ah(s); } a([]{}); //CHECK: @0 = private unnamed_addr constant { [2 x ptr] } { [2 x ptr] [ptr @"??_R4?$T@V@@@@6B@", ptr @"?c@?$T@V@@@@UEAAXXZ"] } //CHECK: @"??_7?$T@V@@@@6B@" = internal unnamed_addr alias ptr, getelementptr inbounds ({ [2 x ptr] }, ptr @0, i32 0, i32 0, i32 1) //CHECK-NOT : "??_7?$e@V@@@@6B@" = comdat any