Mercurial > projects > dstress
annotate run/t/template_37_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 | daef239f37cf |
children |
rev | line source |
---|---|
1073 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <oskar.linde@gmail.com> | |
6 // @date@ 2006-07-06 | |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1073
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=242 |
1073 | 8 |
9 module dstress.run.t.template_37_A; | |
10 | |
11 template a(){ | |
12 template b(){ | |
13 int c = 1; | |
14 } | |
15 } | |
16 | |
17 int main(){ | |
18 int x = a!().b!().c; | |
19 | |
20 if(x != 1){ | |
21 assert(0); | |
22 } | |
23 | |
24 return 0; | |
25 } |