Mercurial > projects > dstress
annotate nocompile/cast_02.d @ 870:38ea1bb385b6
bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
author | thomask |
---|---|
date | Sun, 26 Feb 2006 17:45:46 +0000 |
parents | 6aaba08b3ca2 |
children | 52c9e86b6486 |
rev | line source |
---|---|
354 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Regan Heath <regan@netwin.co.nz> | |
6 // @date@ 2004-08-19 | |
7 // @uri@ news:opsczziyi5a2sq9@digitalmars.com | |
8 // @url@ nntp://digitalmars.com/digitalmars.D.bugs/1407 | |
9 | |
10 // __DSTRESS_ELINE__ 22 | |
11 | |
12 module dstress.nocompile.cast_02; | |
13 | |
14 enum Enum{ | |
15 a | |
16 } | |
17 | |
18 int main(){ | |
870 | 19 bool[] b; |
354 | 20 Enum e; |
870 | 21 b = cast(bool[]) |
22 (cast(bool*)e); | |
354 | 23 return 0; |
24 } |