view nocompile/const_09.d @ 1562:539ede0215a4

r8715@birke: tk | 2007-09-29 23:52:45 +0200 [Issue 1534] Can't mix in a case statement. <aziz.kerim@gmail.com> 2007-09-26 http://d.puremagic.com/issues/show_bug.cgi?id=1534
author thomask
date Sun, 30 Sep 2007 09:44:14 +0000
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();