Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-incomplete1.C
blob: 7b0d83e608d8b9d5687390fe0e4b8dae66496893 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
static
constexpr
A a
=
1
;
// { dg-error "22:'constexpr const A A::a' has incomplete type" }
constexpr
A
(
int
i
)
{
}
};