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