Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-77482.C
blob: 6f5c91621cebd2fe413ed3d5dea9e4233e53600e [
file
] [
log
] [
blame
]
// PR c++/77482
// { dg-do compile { target c++11 } }
constexpr
auto
x
;
// { dg-error "declaration\[^\n\r]*has no initializer" }
extern
struct
S s
;
constexpr
auto
y
=
s
;
// { dg-error "has incomplete type" }