view compile/o/opCast_05_A.d @ 1625:4e908dadd51c

modulo operations with complex numbers are allowed
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 14:59:13 +0100
parents a720cd88e876
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Brad Roberts <braddr@puremagic.com>
// @date@	2006-03-12
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=43
// @desc@	[Issue 43] enable-checking error found in std/socket.d

module dstress.compile.c.opCast_05_A;

struct Struct {
	int i;
}

enum Enum{
	A
}

void populate(Struct* s){
	Enum type = cast(Enum)proto.i;
}