1 //
2 // To compile this file, type:
3 //
4 // g++ -c -g test44-anon-struct-union-v0.cc
5 //
6 //
7 // This test modifies the type of the S0::m0 data member from the
8 // anonymous union to a native type. The resulting change report must
9 // refer to the anonymous union by using its flat representation,
10 // rather than just "__anonymous_union__".
11 
12 struct S0
13 {
14   union {int d; char c;} m0;
15   int m1;
16 };
17 
18 void
foo(S0 *)19 foo(S0*)
20 {}
21