1 // RUN: %clang_cc1 -std=c++11 %s -S -o - -emit-llvm | FileCheck %s
3 // PR10304: destructors should not call destructors for variant members.
5 template<bool b
= false>
7 Foo() { static_assert(b
, "Foo::Foo used"); }
8 ~Foo() { static_assert(b
, "Foo::~Foo used"); }
35 // The ctor and dtor of Foo<> and Bar should not be mentioned in the resulting
38 // CHECK-NOT: 3FooILb1EEC1
41 // CHECK-NOT: 3FooILb1EED1