Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice10.C
blob: 381b8a4ea3224e6cd0d4c455cb0bc9e1b5dcf476 [
file
] [
log
] [
blame
]
// PR c++/60225
// { dg-do compile { target c++11 } }
struct
A
{
constexpr
A
()
{}
static
constexpr
A a
[
2
]
=
{};
// { dg-error "22:elements of array 'constexpr const A A::a \\\[2\\\]' have incomplete type" }
};
// { dg-prune-output "storage size" }