Mercurial > projects > ldc
view test/classes8.d @ 274:9f228c1e5311 trunk
[svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing.
Test results for current revision added.
author | ChristianK |
---|---|
date | Thu, 19 Jun 2008 13:54:31 +0200 |
parents | 37a4fdab33fc |
children |
line wrap: on
line source
class A { int i; int l; this(bool b,bool b2=false) { if (b) this = new B; i = 4; if (b2) this = new C; l = 64; } } class B : A{ this() { super(false); } } class C : A{ this() { super(false); } } void main() { }