Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
elide5.C
blob: abe80ec0bc43582fe142c919e15d7734456b1b71 [
file
] [
log
] [
blame
]
// PR c++/98642
// { dg-do compile { target c++11 } }
struct
base
{
base
(
void
)
{}
base
(
base
&&)
=
delete
;
};
struct
foo
:
public
base
{
};
static
foo c1
{
};
#if __cpp_aggregate_bases
static
foo c2
{
{}
};
#endif