annotate nocompile/super_09.d @ 374:f87ba6507260

added missing meta-data
author thomask
date Thu, 31 Mar 2005 09:01:33 +0000
parents f29443c7054c
children a56ff70d7187
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
190
f29443c7054c 1) super()
thomask
parents:
diff changeset
1 // $HeadURL$
f29443c7054c 1) super()
thomask
parents:
diff changeset
2 // $Date$
f29443c7054c 1) super()
thomask
parents:
diff changeset
3 // $Base$
f29443c7054c 1) super()
thomask
parents:
diff changeset
4
f29443c7054c 1) super()
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
f29443c7054c 1) super()
thomask
parents:
diff changeset
6 // @date@ 200-12-10
f29443c7054c 1) super()
thomask
parents:
diff changeset
7 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn
f29443c7054c 1) super()
thomask
parents:
diff changeset
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2528
f29443c7054c 1) super()
thomask
parents:
diff changeset
9
f29443c7054c 1) super()
thomask
parents:
diff changeset
10 // call to "this" before "super"
f29443c7054c 1) super()
thomask
parents:
diff changeset
11
374
f87ba6507260 added missing meta-data
thomask
parents: 190
diff changeset
12 // __DSTRESS_ELINE__ 26
f87ba6507260 added missing meta-data
thomask
parents: 190
diff changeset
13
190
f29443c7054c 1) super()
thomask
parents:
diff changeset
14 module dstress.nocompile.super_09;
f29443c7054c 1) super()
thomask
parents:
diff changeset
15
f29443c7054c 1) super()
thomask
parents:
diff changeset
16 size_t status;
f29443c7054c 1) super()
thomask
parents:
diff changeset
17
f29443c7054c 1) super()
thomask
parents:
diff changeset
18 class Parent{
f29443c7054c 1) super()
thomask
parents:
diff changeset
19 this(int dummy){
f29443c7054c 1) super()
thomask
parents:
diff changeset
20 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
21 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
22
f29443c7054c 1) super()
thomask
parents:
diff changeset
23 class Child{
f29443c7054c 1) super()
thomask
parents:
diff changeset
24 this(){
f29443c7054c 1) super()
thomask
parents:
diff changeset
25 status = cast(int) this;
f29443c7054c 1) super()
thomask
parents:
diff changeset
26 super(0);
f29443c7054c 1) super()
thomask
parents:
diff changeset
27 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
28 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
29
f29443c7054c 1) super()
thomask
parents:
diff changeset
30 int main(){
f29443c7054c 1) super()
thomask
parents:
diff changeset
31 Child o = new Child();
f29443c7054c 1) super()
thomask
parents:
diff changeset
32 return status & 0;
f29443c7054c 1) super()
thomask
parents:
diff changeset
33 }