Mercurial > projects > dstress
annotate run/b/bug_e2ir_736_D.d @ 1319:81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:58:06 +0000 |
parents | c35b15527bc1 |
children |
rev | line source |
---|---|
1038 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <h3r3tic@mat.uni.torun.pl> | |
6 // @date@ 2006-06-01 | |
1319
81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1038
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=172 |
1038 | 8 |
9 module dstress.run.b.bug_e2ir_736_D; | |
10 | |
11 int status; | |
12 | |
13 template Foo(){ | |
14 template T(){ | |
15 int func() { | |
16 return status; | |
17 } | |
18 } | |
19 } | |
20 | |
21 class Baz{ | |
22 mixin Foo bar; | |
23 } | |
24 | |
25 int main() { | |
26 status = 3; | |
27 if(Baz.bar.T!().func() != 3){ | |
28 assert(0); | |
29 } | |
30 | |
31 return 0; | |
32 } | |
33 |