Mercurial > projects > dstress
annotate run/b/bug_expression_525_B.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 7b2c5a101190 |
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_B; | |
10 | |
11 template t(char[] arg){ | |
12 const char [] t = "hello"; | |
13 } | |
14 | |
15 const char [] s = t!("a"); | |
16 | |
17 int main(){ | |
18 if(s == "hello"){ | |
19 return 0; | |
20 } | |
21 } |