Mercurial > projects > dstress
annotate run/super_08.d @ 190:f29443c7054c
1) super()
2) "=" -> ":=" in the Makefile
Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
200-12-10
news:sr8p82-lu3.ln1@kuehne.cn
nntp://digitalmars.com/digitalmars.D.bugs/2528
author | thomask |
---|---|
date | Fri, 10 Dec 2004 19:13:38 +0000 |
parents | |
children | 7b78583d1f80 |
rev | line source |
---|---|
190 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Base$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> | |
6 // @date@ 200-12-10 | |
7 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn | |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2528 | |
9 | |
10 module dstress.run.super_08; | |
11 | |
12 int dummy; | |
13 | |
14 class Parent{ | |
15 this(){ | |
16 dummy++; | |
17 } | |
18 } | |
19 | |
20 class Child{ | |
21 this(){ | |
22 super(); | |
23 } | |
24 } | |
25 | |
26 int main(){ | |
27 Child o = new Child(); | |
28 return dummy-1; | |
29 } |