c++: delayed parse DMI [PR96645]
[official-gcc.git] / gcc / testsuite / g++.dg / ext / is_constructible3.C
blob305751d28e2a79906ef6937476e8909b7273dc08
1 // PR c++/88368
2 // { dg-do compile { target c++11 } }
4 struct A {
6   struct B {
7     int I = 1;
8     B() = default;
9   };
11   static constexpr bool v = __is_constructible (B); // { dg-error "member initializer" }
15 void print()  {
16   A::B BB;