Mercurial > projects > dstress
annotate nocompile/t/template_class_09.d @ 576:54995adcf26f
compiler hangs on recursive template
Nick <Nick_member@pathlink.com>
2005-06-10
news:d8btjq$11c7$1@digitaldaemon.com
compiler hangs on recursive template
author | thomask |
---|---|
date | Sat, 11 Jun 2005 06:18:32 +0000 |
parents | |
children | b8c0195059d9 |
rev | line source |
---|---|
576 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Nick <Nick_member@pathlink.com> | |
6 // @date@ 2005-06-10 | |
7 // @uri@ news:d8btjq$11c7$1@digitaldaemon.com | |
8 // @desc@ compiler hangs on recursive template | |
9 | |
10 // __DSTRESS_ELINE__ 15 | |
11 | |
12 module dstress.nocompile.t.template_class_09; | |
13 | |
14 template Template(int i) { | |
15 class Class : Template!(i+1).Class{ | |
16 } | |
17 } | |
18 | |
19 alias Template!(0).Class Class0; | |
20 |