Mercurial > projects > dstress
annotate run/t/template_37_B.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 6c7318abb97c |
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_B; | |
10 | |
11 template a(){ | |
12 template b(){ | |
13 int b = 1; | |
14 } | |
15 } | |
16 | |
17 int main(){ | |
18 int x = a!().b!(); | |
19 | |
20 if(x != 1){ | |
21 assert(0); | |
22 } | |
23 | |
24 return 0; | |
25 } |