Mercurial > projects > dstress
annotate run/b/bug_expression_525_D.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | c99e8aac0e0c |
children |
rev | line source |
---|---|
856 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
772 | 4 |
5 // @author@ Don Clugston <dac@nospam.com.au> | |
6 // @date@ 2005-12-06 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5772 |
772 | 8 |
9 module dstress.run.b.bug_expression_525_D; | |
10 | |
11 template t(){ | |
12 const char [] t = "hello"; | |
13 } | |
14 | |
15 const char [] s = t!(); | |
16 | |
17 int main(){ | |
1269 | 18 if(s == "hello"){ |
772 | 19 return 0; |
20 } | |
21 } |