Mercurial > projects > dstress
annotate run/t/template_39_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 | daef239f37cf |
children |
rev | line source |
---|---|
1074 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <h3r3tic@mat.uni.torun.pl> | |
6 // @date@ 2006-06-21 | |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1074
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=215 |
1074 | 8 |
9 module dstress.run.t.template_39_C; | |
10 | |
11 template T() { | |
12 struct S{ | |
13 int x = 1; | |
14 } | |
15 | |
16 S s; | |
17 } | |
18 | |
19 struct Bar { | |
20 mixin T!(); | |
21 } | |
22 | |
23 int main(){ | |
24 Bar b; | |
25 | |
26 if(b.s.x != 1){ | |
27 assert(0); | |
28 } | |
29 | |
30 return 0; | |
31 } |