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