Mercurial > projects > ldc
view test/classes8.d @ 141:8f43f5c43c95 trunk
[svn r145] fixed some x86 problems
author | lindquist |
---|---|
date | Wed, 23 Jan 2008 12:58:51 +0100 |
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() { }