view run/a/auto_16_B.d @ 1489:b8c0195059d9

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

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

// @author@	yama <yama_member@pathlink.com>
// @date@	2006-02-26
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=6373

// __DSTRESS_DFLAGS__ -version=always

module dstress.run.a.auto_16_B;

class C{
	char[] toString(){
		return "hallo bug";
	}
}

int main(){
	version(always){
		auto C c;
		c = new C();
	}

	if(c.toString() != "hallo bug"){
		assert(0);
	}

	return 0;
}