view test/bug2.d @ 158:287540c5f05e trunk

[svn r174] added file missing from previous commit [173]
author ChristianK
date Thu, 01 May 2008 13:33:02 +0200
parents 92408a3a2bac
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()); }