view nocompile/const_09.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 1f6cf5ccfbc9
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $URL$

// union allocation at compiletime is impossible

// __DSTRESS_ELINE__ 16

module dstress.nocompile.const_07;

union MyUnion{
	int i;
	Object o;
}

const MyUnion* u = new MyUnion();