Mercurial > projects > dstress
annotate run/constructor_04.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 | 52c9e86b6486 |
children |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
87
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
5 // @author@ shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
6 // @date@ 2004-11-01 |
140 | 7 // @uri@ news:20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp |
1383 | 8 // @uri@ nntp://digitalmars.com/D.gnu/829 |
87
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
9 |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
10 // see also dstress.addon.constructor_04_A |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
11 |
218 | 12 // __DSTRESS_DFLAGS__ addon/constructor_04_A.d |
87
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
13 |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
14 module dstress.run.constructor_04; |
218 | 15 import addon.constructor_04_A; |
87
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
16 |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
17 int main(){ |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
18 Derived c = new Derived(); |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
19 return 0; |
dfbc0188e5aa
shinichiro.h <s31552@mail.ecc.u-tokyo.ac.jp> news://20041101173804.4e16f816.s31552@mail.ecc.u-tokyo.ac.jp nttp://digitalmars.com/D.gnu:829
thomask
parents:
diff
changeset
|
20 } |