view run/c/case_06_E.d @ 1600:6d193e241564

Allow for tango math in creal tests.
author Christian Kamm <kamm incasoftware de>
date Sun, 04 Jan 2009 22:25:02 +0100
parents ed2e61c395a8
children
line wrap: on
line source

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

// @author@	davidl <davidl@126.com>
// @date@	2007-04-06
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1102
// @desc@	[Issue 1102] switch case couldn't contain template member

module dstress.run.c.case_06_E;

const int i = x + x;
const int x = 1;

int main(char[][] args){
	switch(args.length + 1){
		case 3:
			assert(0);
		case i:
			return 0;
		default:
			assert(0);
	}
}