1 // PR c++/38698
2 // { dg-do compile { target c++11 } }
3 
4 struct A
5 {
6   int i;
7 };
8 
9 A a({1,2});			// { dg-error "no match|cannot convert" }
10 
11 union U
12 {
13   int i,j;
14 };
15 
16 U u({1,2});			// { dg-error "no match|cannot convert" }
17 
18 union V {};
19 
20 V v({1});			// { dg-error "no match|too many initializers" }
21