c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-initlist4.C
blobd4019b2b9c45bd226360d1241f67eb7f46a37ab5
1 // { dg-do compile { target c++11 } }
3 struct A { int i; };
4 struct B: A { constexpr B(): A{} {} };
5 struct B2: A { constexpr B2(): A{1} {} };
7 struct C { protected: int i; };
8 struct D: C { constexpr D(): C{} {} };