Mercurial > projects > dstress
annotate run/t/template_07.d @ 1519:f71bd33bb278
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:22:49 +0000 |
parents | |
children |
rev | line source |
---|---|
1519 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ tetsuya <tetsuya_member@pathlink.com> | |
6 // @date@ 2004-13-13 | |
7 // @uri@ news:cpk4vq$1m5a$1@digitaldaemon.com | |
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2546 | |
9 | |
10 module dstress.run.t.template_07; | |
11 | |
12 template T(){ | |
13 class A { | |
14 this() { | |
15 T!().a = this; | |
16 } | |
17 } | |
18 A a; | |
19 } | |
20 | |
21 int main(){ | |
22 mixin T!(); | |
23 return 0; | |
24 } |