blob: 5efdc6711dd3b893f5be5635f01b5a2ac9fd02a6 [file] [log] [blame]
// PR c++/38698
// { dg-do compile { target c++11 } }
// { dg-prune-output "note" }
struct A
{
int i;
};
A a({1,2}); // { dg-error "no match" }
union U
{
int i,j;
};
U u({1,2}); // { dg-error "no match" }
union V {};
V v({1}); // { dg-error "no match" }