Mercurial > projects > dstress
view run/super_08.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | e77e4444c170 |
children | 52c9e86b6486 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Base$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> // @date@ 2004-12-10 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2528 module dstress.run.super_08; int dummy; class Parent{ this(){ dummy++; } } class Child : Parent{ this(){ super(); } } int main(){ Child o = new Child(); return dummy-1; }