annotate run/with_12.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
281
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
1 // $HeadURL$
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
2 // $Date$
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
3 // $Author$
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
4
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
5 // @author@ Manfred Nowak <svv1999@hotmail.com>
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
6 // @date@ 2005-02-03
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
7 // @uri@ news:cttuih$hpb$1@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=2852
281
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
9
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
10 module dstress.run.with_12;
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
11
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
12 struct Entry{
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
13 int a;
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
14 }
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
15
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
16 int main(){
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
17 Entry[10] table;
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
18
1125
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
19 if(table[1].a != 0){
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
20 assert(0);
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
21 }
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
22
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
23 with(table[1]){
281
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
24 a=1;
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
25 }
1125
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
26 if(table[1].a != 1){
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
27 assert(0);
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
28 }
281
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
29
b8b7a330468a with and opIndex
thomask
parents:
diff changeset
30 return 0;
1125
a929acac9127 various test case fixes
thomask
parents: 281
diff changeset
31 }