blob: 48a0d56f6d7d116a813b95df3d52cc33943b11ad [file] [log] [blame]
//
// To compile this file, type:
//
// g++ -c -g test44-anon-struct-union-v0.cc
//
//
// This test modifies the type of the S0::m0 data member from the
// anonymous union to a native type. The resulting change report must
// refer to the anonymous union by using its flat representation,
// rather than just "__anonymous_union__".
struct S0
{
union {int d; char c;} m0;
int m1;
};
void
foo(S0*)
{}