Mercurial > projects > ldc
view test/virtcall.d @ 30:881158a93592 trunk
[svn r34] * Fixed passing a struct literal as function argument
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 14:15:54 +0200 |
parents | c53b6e3fe49a |
children | 8b0e809563df |
line wrap: on
line source
module virtcall; class C { override char[] toString() { return "overridden"; } } void main() { C c = new C; auto s = c.toString(); }