view test/bug2.d @ 138:aeddd4d533b3 trunk

[svn r142] minor fix to dynamic casts. added a few missed files.
author lindquist
date Fri, 18 Jan 2008 20:13:19 +0100
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()); }