Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
aggr5.C
blob: c1844f8ff88c550211743dcefd37ca508772e39c [
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
=
{
0
};
}