Mercurial > projects > ldc
view tests/mini/bug2.d @ 1135:8ebbad15fc99
Remove struct padding which was making this test fail on 64-bit systems.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Tue, 24 Mar 2009 03:14:22 +0100 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module bug2; struct Vec { Vec barf() { return Vec(); } } class test { this(Vec whee) { } } void main() { Vec whee; new test(whee.barf()); }