Mercurial > projects > ldc
view tests/mini/union6.d @ 926:bbb3f23908aa
Added X86-64 version
author | wilsonk@ubuntu |
---|---|
date | Tue, 03 Feb 2009 12:33:42 -0700 |
parents | 44f08170f4ef |
children |
line wrap: on
line source
module union6; struct S { byte a; byte b; } union U { byte a; byte b; S c; } void main() { U u; auto a = u.c.b; //auto c = u.s.l; }