view run/b/bug_expression_525_E.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 7b2c5a101190
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Don Clugston <dac@nospam.com.au>
// @date@	2005-12-06
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5772

module dstress.run.b.bug_expression_525_E;

template t(char[] arg){
	const char [] s = "hello";
}

const char [] s = t!("a"[0 .. 1]).s;

int main(){
	if(s == "hello"){
		return 0;
	}
}