Mercurial > projects > dstress
annotate run/template_14.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 |
---|---|
327
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
2 // $Date$ |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
3 // $Author$ |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
4 |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
5 // @author@ tetsuya <tetsuya_member@pathlink.com> |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
6 // @date@ 2004-13-13 |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
7 // @uri@ news:cpk4vq$1m5a$1@digitaldaemon.com |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2546 |
327
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
9 |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
10 module dstress.run.template_14; |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
11 |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
12 template T(){ |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
13 class A { |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
14 this() { |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
15 T!().a = this; |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
16 } |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
17 } |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
18 A a; |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
19 } |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
20 |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
21 int main(){ |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
22 return 0; |
43ad4a47cee3
T!().a creates a new instantiation of T that is *not* the mixin
thomask
parents:
diff
changeset
|
23 } |