Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-63241.C
blob: 2553cae349c18fb7de418978442fffa07abc072f [
file
] [
log
] [
blame
]
// PR c++/63241
// { dg-do compile { target c++11 } }
struct
A
{
constexpr
A
(
int
){}
};
int
main
()
{
int
i
=
1
;
A array
[
2
][
2
]
=
{{{
0
},
{
i
}},
{{
0
},
{
0
}}};
}