Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }