Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/anon8.C

raw
1 // { dg-do assemble }
2
3 struct B
4 {
5 int a;
6 B & operator= (const B &);
7 };
8
9 struct A
10 {
11 union {
12 int a;
13 };
14 B b;
15 };
16
17 A x;
18
19 void foo (const A &y)
20 {
21 x = y;
22 }