view tests/mini/compile_structs1.d @ 1447:a400b1dd657f

fix assembly code for mingw32 in minitests
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Sun, 31 May 2009 11:01:02 -0600
parents 5a2983f97498
children
line wrap: on
line source

struct Foo { int a, b, c; union Data { } Data data; }
struct Bar { int a, b; }
struct Baz { int a; union { Foo foo; Bar bar; } }
void test() { Baz baz; if (baz.bar.a) return; }