Mercurial > projects > ldc
view tests/mini/structinit4.d @ 968:a9feaed801d7
Fix {,w,d}char handling in tests/mini/vararg6.d:print()
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 16 Feb 2009 19:31:10 +0100 |
parents | 545f54041d91 |
children |
line wrap: on
line source
// testcase from bug #199 struct Color { uint c; } struct Vertex { Color c; } void main() { Color c = {0xffffffff}; auto v = Vertex(c); assert(v.c.c == 0xffffffff); // fails in LDC }