Mercurial > projects > dstress
annotate compile/bug_e2ir_1158_A.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 |
---|---|
358 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
172 | 5 // @uri@ news:cok6h5$1p9u$1@digitaldaemon.com |
6 // @author@ Stewart Gordon <smjg_1998@yahoo.com> | |
7 // @date@ 2004-12-01 | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2395 |
172 | 9 |
10 module dstress.compile.bug_e2ir_1158_A; | |
11 | |
225
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
12 version(Windows){ |
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
13 |
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
14 import std.c.windows.windows; |
172 | 15 |
225
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
16 void main(char[][] args) { |
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
17 HDC dc = (args.length > 1 ? &GetWindowDC : &GetDC) (null); |
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
18 } |
a17c5241fa96
disabled Windows specific test for non-Windows systems
thomask
parents:
172
diff
changeset
|
19 |
172 | 20 } |