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 // call to "this" before "super"
|
|
11
|
374
|
12 // __DSTRESS_ELINE__ 26
|
|
13
|
190
|
14 module dstress.nocompile.super_09;
|
|
15
|
|
16 size_t status;
|
|
17
|
|
18 class Parent{
|
|
19 this(int dummy){
|
|
20 }
|
|
21 }
|
|
22
|
|
23 class Child{
|
|
24 this(){
|
|
25 status = cast(int) this;
|
|
26 super(0);
|
|
27 }
|
|
28 }
|
|
29
|
|
30 int main(){
|
|
31 Child o = new Child();
|
|
32 return status & 0;
|
|
33 }
|