c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-87934.C
blob32eb220d1e9f7eff07128cf081069668a9fa5292
1 // PR c++/87934
2 // { dg-do compile { target c++11 } }
4 struct Foo
6   enum { BAR } bar = BAR;
7 };
9 constexpr Foo foo{};