Mercurial > projects > ldc
view test/classes8.d @ 272:94ef6d63f7bb trunk
[svn r293] Fixed: object.TypeInfo_Struct implementation was incorrect.
author | lindquist |
---|---|
date | Wed, 18 Jun 2008 22:27:02 +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() { }