1 // RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++14 \
2 // RUN: -fno-threadsafe-statics -fms-extensions -O1 -mconstructor-aliases \
3 // RUN: -disable-llvm-passes -o - %s -w -fms-compatibility-version=19.00 | \
10 struct HasImplicitDtor1
{
13 struct __declspec(dllexport
) CtorClosureOuter
{
14 struct __declspec(dllexport
) CtorClosureInner
{
15 CtorClosureInner(const HasImplicitDtor1
&v
= {}) {}
19 // CHECK-LABEL: $"??1HasImplicitDtor1@@QAE@XZ" = comdat any
20 // CHECK-LABEL: define weak_odr dso_local dllexport x86_thiscallcc void @"??_FCtorClosureInner@CtorClosureOuter@@QAEXXZ"({{.*}}) {{#[0-9]+}} comdat