* decl.c (reshape_init_r): { T } is not an aggregate initializer
[official-gcc/constexpr.git] / gcc / testsuite / g++.dg / init / aggr4.C
blob7120e68cd7ec8cc7416d915398e1cafae2c25282
1 struct A
3   int i;
4 };
6 A a1 = { 1 };                   // ok
7 A a2 = { a1 };                  // { dg-error "cannot convert" }