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 "has incomplete type" } 7