Mercurial > projects > dstress
annotate run/t/template_38_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 | 606a9d4edc0e |
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_38_B; | |
10 | |
11 template T() { | |
12 template foo(int i) { | |
13 bar b; | |
14 } | |
15 | |
16 int x = 1; | |
17 } | |
18 | |
19 | |
20 struct S { | |
21 mixin T!(); | |
22 } | |
23 | |
24 int main(){ | |
25 S s; | |
26 if(s.x != 1){ | |
27 assert(0); | |
28 } | |
29 | |
30 return 0; | |
31 } |