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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
295
28dd23a1080b inline / static
thomask
parents:
diff changeset
1 // $HeadURL$
28dd23a1080b inline / static
thomask
parents:
diff changeset
2 // $Date$
28dd23a1080b inline / static
thomask
parents:
diff changeset
3 // $Author$
28dd23a1080b inline / static
thomask
parents:
diff changeset
4
28dd23a1080b inline / static
thomask
parents:
diff changeset
5 // @author@ Thomas Kuehne <thomas-dloop@kuehne.THISISSPAM.cn>
28dd23a1080b inline / static
thomask
parents:
diff changeset
6 // @date@ 2005-02-19
28dd23a1080b inline / static
thomask
parents:
diff changeset
7 // @uri@ news:cv77ei$27mv$3@digitaldaemon.com
1384
d3a3e0c251d8 nntp: -> http:
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3017
295
28dd23a1080b inline / static
thomask
parents:
diff changeset
9
28dd23a1080b inline / static
thomask
parents:
diff changeset
10 module dstress.compile.inline_09;
28dd23a1080b inline / static
thomask
parents:
diff changeset
11
28dd23a1080b inline / static
thomask
parents:
diff changeset
12 struct MyStruct{
28dd23a1080b inline / static
thomask
parents:
diff changeset
13 static int bug() {
28dd23a1080b inline / static
thomask
parents:
diff changeset
14 return 3;
28dd23a1080b inline / static
thomask
parents:
diff changeset
15 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
16 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
17
28dd23a1080b inline / static
thomask
parents:
diff changeset
18 int main(){
28dd23a1080b inline / static
thomask
parents:
diff changeset
19 assert(MyStruct.bug()==3);
28dd23a1080b inline / static
thomask
parents:
diff changeset
20 return 0;
736
1e6afb94ce6d updated meta data for Torture
thomask
parents: 295
diff changeset
21 }