view tests/mini/bug2.d @ 854:0ffa92f4ac99

added a patch to tango's stdio for ldc on win32
author elrood
date Sun, 14 Dec 2008 17:53:20 +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()); }