Mercurial > projects > dstress
annotate run/module_02.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 | d3a3e0c251d8 |
children |
rev | line source |
---|---|
252 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas@kuehne.thisisspam.cn> | |
283 | 6 // @date@ 2005-02-12 |
7 // @uri@ news:cujja4$5ri$1@digitaldaemon.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2952 |
252 | 9 |
10 /*module dstress.run.module_02;*/ | |
11 | |
12 int i; | |
13 | |
14 int main(){ | |
15 assert(module_02.i==0); | |
16 module_02.i++; | |
17 assert(module_02.i==1); | |
18 return 0; | |
19 } | |
20 |