blob: 839498f9d84d3285dfd32a2cb6504275e5d6ef07 [file] [log] [blame]
// Compile this with:
// g++ -g -Wall -shared -o libtest39-union-v1.so test39-union-v1.cc
struct S
{
int S_member0;
int S_member1;
char S_member2;
};
union some_union_type
{
int m0;
char m1;
S m2;
};
void
foo(some_union_type*)
{
}