Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array3.C
blob: 12f42f1834d4222bbb0575ddcedd707738a6004c [
file
] [
log
] [
blame
]
// PR c++/48132
// { dg-do compile { target c++11 } }
struct
C
{
constexpr
C
(
int
x
)
:
c
(
x
)
{}
int
c
;
};
void
foo
()
{
C a
[]
=
{
C
(
0
)
};
}