/cp
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / constexpr-83921-3.C
blob4b1ed5c3a87b5b2d3b57373026e00727279ac886
1 // PR c++/83921
2 // { dg-do compile { target c++14 } }
4 struct Foo { int m; };
5 constexpr void test() { Foo f; }  // { dg-error "uninitialized" }