annotate run/super_08.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents 6e4063f99377
children
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
1385
62c9b99c3a16 meta cleanup
thomask
parents: 1383
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn>
62c9b99c3a16 meta cleanup
thomask
parents: 1383
diff changeset
6 // @date@ 2004-12-10
62c9b99c3a16 meta cleanup
thomask
parents: 1383
diff changeset
7 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn
1487
6e4063f99377 changed nntp: URLs to http: URLs
thomask
parents: 1385
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2528
190
f29443c7054c 1) super()
thomask
parents:
diff changeset
9
f29443c7054c 1) super()
thomask
parents:
diff changeset
10 module dstress.run.super_08;
f29443c7054c 1) super()
thomask
parents:
diff changeset
11
f29443c7054c 1) super()
thomask
parents:
diff changeset
12 int dummy;
f29443c7054c 1) super()
thomask
parents:
diff changeset
13
f29443c7054c 1) super()
thomask
parents:
diff changeset
14 class Parent{
f29443c7054c 1) super()
thomask
parents:
diff changeset
15 this(){
f29443c7054c 1) super()
thomask
parents:
diff changeset
16 dummy++;
f29443c7054c 1) super()
thomask
parents:
diff changeset
17 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
18 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
19
332
7b78583d1f80 Object has no ctor
thomask
parents: 190
diff changeset
20 class Child : Parent{
190
f29443c7054c 1) super()
thomask
parents:
diff changeset
21 this(){
f29443c7054c 1) super()
thomask
parents:
diff changeset
22 super();
f29443c7054c 1) super()
thomask
parents:
diff changeset
23 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
24 }
f29443c7054c 1) super()
thomask
parents:
diff changeset
25
f29443c7054c 1) super()
thomask
parents:
diff changeset
26 int main(){
f29443c7054c 1) super()
thomask
parents:
diff changeset
27 Child o = new Child();
f29443c7054c 1) super()
thomask
parents:
diff changeset
28 return dummy-1;
f29443c7054c 1) super()
thomask
parents:
diff changeset
29 }