Mercurial > projects > dstress
view run/a/auto_16_A.d @ 1523:8a8d5cb8775c
fixed X86_64 issue
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:26:33 +0000 |
parents | b8c0195059d9 |
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 module dstress.run.a.auto_16_A; class C{ char[] toString(){ return "hallo bug"; } } int main(){ auto C c; version(all){ c = new C(); } if(c.toString() != "hallo bug"){ assert(0); } return 0; }