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