Mercurial > projects > dstress
view run/a/auto_16_D.d @ 1599:d37b19f7e8bb
Move run/c/case_01 to nocompile.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 17:28:31 +0200 |
parents | 36bedfa079e6 |
children |
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_D; auto class C{ string toString(){ return "hallo bug"; } } int main(){ version(always){ auto C c; c = new C(); } if(c.toString() != "hallo bug"){ assert(0); } return 0; }