Mercurial > projects > dstress
annotate run/inline_09.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 |
---|---|
295 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn> | |
6 // @date@ 2005-02-19 | |
7 // @uri@ news:cv77ei$27mv$3@digitaldaemon.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3017 |
295 | 9 |
10 module dstress.compile.inline_09; | |
11 | |
12 struct MyStruct{ | |
13 static int bug() { | |
14 return 3; | |
15 } | |
16 } | |
17 | |
18 int main(){ | |
19 assert(MyStruct.bug()==3); | |
20 return 0; | |
736 | 21 } |