Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
aggr4.C
blob: b0eae2ef3d00ca5701d2d3eaf0e0f2040f0026c4 [
file
] [
log
] [
blame
]
struct
A
{
int
i
;
};
A a1
=
{
1
};
// ok
A a2
=
{
a1
};
// { dg-error "cannot convert" "" { target { ! c++11 } } }