annotate run/version_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 785c8eaa48b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
f87ba6507260 added missing meta-data
thomask
parents: 274
diff changeset
1 // $HeadURL$
f87ba6507260 added missing meta-data
thomask
parents: 274
diff changeset
2 // $Date$
f87ba6507260 added missing meta-data
thomask
parents: 274
diff changeset
3 // $Author$
f87ba6507260 added missing meta-data
thomask
parents: 274
diff changeset
4
247
3bc2f45a191f disabled unoffical version identifiers "Unix" and "darwin"
thomask
parents: 192
diff changeset
5 module dstress.run.version_02;
0
3269e4627918 init dstress
svnowner
parents:
diff changeset
6
3269e4627918 init dstress
svnowner
parents:
diff changeset
7 int main(){
3269e4627918 init dstress
svnowner
parents:
diff changeset
8 int os;
3269e4627918 init dstress
svnowner
parents:
diff changeset
9
3269e4627918 init dstress
svnowner
parents:
diff changeset
10 version(Win32){
3269e4627918 init dstress
svnowner
parents:
diff changeset
11 os+=2;
3269e4627918 init dstress
svnowner
parents:
diff changeset
12 }
3269e4627918 init dstress
svnowner
parents:
diff changeset
13
3269e4627918 init dstress
svnowner
parents:
diff changeset
14 version(Win64){
3269e4627918 init dstress
svnowner
parents:
diff changeset
15 os+=2;
3269e4627918 init dstress
svnowner
parents:
diff changeset
16 }
3269e4627918 init dstress
svnowner
parents:
diff changeset
17
3269e4627918 init dstress
svnowner
parents:
diff changeset
18 version(Windows){
3269e4627918 init dstress
svnowner
parents:
diff changeset
19 os--;
3269e4627918 init dstress
svnowner
parents:
diff changeset
20 }
3269e4627918 init dstress
svnowner
parents:
diff changeset
21
3269e4627918 init dstress
svnowner
parents:
diff changeset
22 version(linux){
247
3bc2f45a191f disabled unoffical version identifiers "Unix" and "darwin"
thomask
parents: 192
diff changeset
23 os++;
192
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
24 }
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
25
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
26 version(darwin){
1126
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
27 static assert(0); // this isn't yet part of the standard (v 0.166)
192
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
28 }
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
29
014844597bbd 1) updated results
thomask
parents: 1
diff changeset
30 version(Unix){
1126
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
31 static assert(0); // this isn't yet part of the standard (v 0.166)
274
21efb6c131f1 updated defencive versions tests for not yet documented versions "Sparc" and "solaris"
thomask
parents: 247
diff changeset
32 }
21efb6c131f1 updated defencive versions tests for not yet documented versions "Sparc" and "solaris"
thomask
parents: 247
diff changeset
33
21efb6c131f1 updated defencive versions tests for not yet documented versions "Sparc" and "solaris"
thomask
parents: 247
diff changeset
34 version(solaris){
1126
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
35 static assert(0); // this isn't yet part of the standard (v 0.166)
0
3269e4627918 init dstress
svnowner
parents:
diff changeset
36 }
3269e4627918 init dstress
svnowner
parents:
diff changeset
37
1126
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
38 if(os != 1){
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
39 assert(0);
785c8eaa48b4 various test case fixes
thomask
parents: 552
diff changeset
40 }
0
3269e4627918 init dstress
svnowner
parents:
diff changeset
41
3269e4627918 init dstress
svnowner
parents:
diff changeset
42 return 0;
1
3414705c41ac removed CVS header
thomask
parents: 0
diff changeset
43 }