190
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Base$
|
|
4
|
1385
|
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
|
|
6 // @date@ 2004-12-10
|
|
7 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn
|
1487
|
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2528
|
190
|
9
|
|
10 module dstress.run.super_08;
|
|
11
|
|
12 int dummy;
|
|
13
|
|
14 class Parent{
|
|
15 this(){
|
|
16 dummy++;
|
|
17 }
|
|
18 }
|
|
19
|
332
|
20 class Child : Parent{
|
190
|
21 this(){
|
|
22 super();
|
|
23 }
|
|
24 }
|
|
25
|
|
26 int main(){
|
|
27 Child o = new Child();
|
|
28 return dummy-1;
|
|
29 }
|