view test/virtcall.d @ 1:c53b6e3fe49a trunk

[svn r5] Initial commit. Most things are very rough.
author lindquist
date Sat, 01 Sep 2007 21:43:27 +0200
parents
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();
}