On May 28, 2008, at 8:31 AM, Duncan Sands wrote:
> A more sophisticated example:
>
> struct A { int a[1024]; };
> struct B { int x; struct A y; };
> union C { struct A x; struct B y; };
> void g(struct A* a, struct A* b) { *a = *b; }
> union C u;
> main(void) { g(&u.x, &u.y.y); }
This one is derived from something in the gcc testsuite IIRC.