Mercurial > projects > ldc
view tests/mini/structinit5.d @ 1421:7a693c367190
just a simple change to cmake for mingw
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 27 May 2009 12:41:41 -0600 |
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 }