Mercurial > projects > dstress
view run/bug_todt_194_A.d @ 266:8a0f597f549a
fixed bug_todt_194
author | thomask |
---|---|
date | Fri, 04 Feb 2005 00:02:02 +0000 |
parents | nocompile/bug_todt_194_A.d@fd1663a1f2dd |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ zwang <nehzgnaw@gmail.com> // @date@ 2005-02-03 // @uri@ news:cttjcg$44f$1@digitaldaemon.com module dstress.run.bug_todt_194_A; int main(){ assert((new MyStruct!()).i==int.sizeof); return 0; } struct MyStruct(){ int i=func(0).sizeof; } int func(...){ return 0; }