view test/bug2.d @ 56:3a784f7790d6 trunk

[svn r60] fixed vararg1 test
author lindquist
date Wed, 24 Oct 2007 22:26:37 +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()); }