Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.old-deja / g++.ext / anon2.C
blob5bde08db9523de532f7a215195384f817878c021
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // { dg-prune-output "note" }
5 struct S 
7   S ();
8 };
10 union U {
11   struct { 
12     S s; // { dg-error "" } struct with constructor in union
13   };