annotate nocompile/inline_07.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
870
38ea1bb385b6 bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
thomask
parents: 739
diff changeset
10 // __DSTRESS_TORTURE_BLOCK__ -release
38ea1bb385b6 bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
thomask
parents: 739
diff changeset
11 // __DSTRESS_ELINE__ 22
295
28dd23a1080b inline / static
thomask
parents:
diff changeset
12
28dd23a1080b inline / static
thomask
parents:
diff changeset
13 module dstress.nocompile.inline_07;
28dd23a1080b inline / static
thomask
parents:
diff changeset
14
28dd23a1080b inline / static
thomask
parents:
diff changeset
15 struct MyStruct{
28dd23a1080b inline / static
thomask
parents:
diff changeset
16 int bug() {
28dd23a1080b inline / static
thomask
parents:
diff changeset
17 return 3;
28dd23a1080b inline / static
thomask
parents:
diff changeset
18 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
19 }
28dd23a1080b inline / static
thomask
parents:
diff changeset
20
28dd23a1080b inline / static
thomask
parents:
diff changeset
21 int main(){
28dd23a1080b inline / static
thomask
parents:
diff changeset
22 assert(MyStruct.bug()==3);
28dd23a1080b inline / static
thomask
parents:
diff changeset
23 return 0;
870
38ea1bb385b6 bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
thomask
parents: 739
diff changeset
24 }