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