Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-77482.C

raw
1 // PR c++/77482
2 // { dg-do compile { target c++11 } }
3
4 constexpr auto x; // { dg-error "declaration\[^\n\r]*has no initializer" }
5 extern struct S s;
6 constexpr auto y = s; // { dg-error "incomplete" }