1 // PR c++/38698 2 // { dg-options "-std=c++0x" } 3 // { dg-prune-output "note" } 4 5 struct A 6 { 7 int i; 8 }; 9 10 A a({1,2}); // { dg-error "no match" } 11 12 union U 13 { 14 int i,j; 15 }; 16 17 U u({1,2}); // { dg-error "no match" } 18 19 union V {}; 20 21 V v({1}); // { dg-error "no match" } 22