Mercurial > projects > dstress
annotate run/t/tuple_24_B.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 | ce8c04d69094 |
children |
rev | line source |
---|---|
1525
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
2 // $Date$ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
3 // $Author$ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
4 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
5 // @author@ Reiner Pope <reiner.pope@gmail.com> |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
6 // @date@ 2007-04-08 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1114 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 1114] Indexed tuple cannot be used in inheritance declaration |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
9 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
10 module dstress.run.t.tuple_24_B; |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
11 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
12 template Tuple(T...){ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
13 alias T Tuple; |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
14 } |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
15 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
16 alias Tuple!(Object) Foo; |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
17 alias Foo[0] Base; |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
18 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
19 class Bar : Base{ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
20 } |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
21 |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
22 int main(){ |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
23 Bar b = new Bar(); |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
24 return 0; |
ce8c04d69094
[Issue 1114] Indexed tuple cannot be used in inheritance declaration
thomask
parents:
diff
changeset
|
25 } |