Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
aggr6.C
blob: 98628d255abca9d2a6b3cfa2aeb3f117561e479f [
file
] [
log
] [
blame
]
// Origin PR c++/40239
// { dg-do compile }
struct
B
{
B
()
{
}
private
:
B
(
B
const
&);
};
struct
A
{
int
a
;
B b
;
};
int
main
()
{
A a
=
{};
}