Mercurial > projects > dstress
annotate run/t/tuple_13_C.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 | a16119ef8f21 |
children |
rev | line source |
---|---|
1324
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
2 // $Date$ |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
3 // $Author$ |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
4 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
5 // @author@ <kamm@incasoftware.de> |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
6 // @date@ 2006-12-27 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=756 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 756] IFTI for tuples only works if tuple parameter is last |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
9 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
10 module dstress.run.t.tuple_13_C; |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
11 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
12 void foo(U...)(U u, int t) { |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
13 } |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
14 |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
15 int main(){ |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
16 foo!(int, int)(1, 2, 3); |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
17 return 0; |
a16119ef8f21
[Issue 756] IFTI for tuples only works if tuple parameter is last
thomask
parents:
diff
changeset
|
18 } |