Mercurial > projects > dstress
annotate nocompile/t/template_30_E.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 8089260fa44d |
children |
rev | line source |
---|---|
847 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Wang Zhen <nehzgnaw@gmail.com> | |
6 // @date@ 2006-02-17 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6300 |
847 | 8 |
9 module dstress.nocompile.t.template_30_E; | |
10 | |
11 template t(int z){ | |
12 const int t = 2; | |
13 } | |
14 | |
15 int foo(){ | |
16 return t!(dummy()); | |
17 } | |
18 | |
19 int dummy(){ | |
20 return t!(bar()); | |
21 } | |
22 | |
23 int bar(){ | |
24 return t!(foo()); | |
25 } | |
26 | |
27 |