view run/cast_01.d @ 70:5f98d4a33d49

1) review of all test cases with unexpected results (except encoding and html/xml) 2) updated todo
author thomask
date Sat, 23 Oct 2004 22:47:47 +0000
parents 3414705c41ac
children a33ad7189d21
line wrap: on
line source

// @author@	Regan Heat <regan@netwin.co.nz>
// @date@	2004-08-19
// @uri@	news://opsczziyi5a2sq9@digitalmars.com
// @url@	nttp://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);
}