Mercurial > projects > ldc
view tests/mini/structinit5.d @ 925:79e3d33e6d6e
Added X86-64 versioning
author | wilsonk@ubuntu |
---|---|
date | Tue, 03 Feb 2009 12:33:21 -0700 |
parents | 545f54041d91 |
children |
line wrap: on
line source
struct Vertex { uint[1] c; } void main() { uint[1] c = 0xffffffff; auto v = Vertex(c); assert(v.c[0] == 0xffffffff); // fails in LDC }