Mercurial > projects > dstress
view run/cast_01.d @ 202:4cd33115f015
1) fixed @author@ typos
2) added reporter.txt
author | thomask |
---|---|
date | Wed, 15 Dec 2004 17:37:40 +0000 |
parents | a33ad7189d21 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Regan Heath <regan@netwin.co.nz> // @date@ 2004-08-19 // @uri@ news:opsczziyi5a2sq9@digitalmars.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1407 module dstress.run.cast_01; enum Enum{ a } int test(Enum e){ bit[] b; b = cast(bit[])(cast(bit*)e); return 0; } int main(){ Enum e; return test(e); }