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