Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty16.C
blob: 79be244a1d0748239482192a4d7409ae0150f05b [
file
] [
log
] [
blame
]
// PR c++/101194
// { dg-do compile { target c++11 } }
struct
nodefault
{
constexpr
nodefault
(
int
)
{
}
};
constexpr
nodefault x
[
1
]
=
{
nodefault
{
0
}
};
constexpr
nodefault y
=
x
[
0
];