view run/o/opCmp_09_D.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents eac3a538961a
children
line wrap: on
line source

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

// @author@	Chris Sauls <ibisbasenji@gmail.com>
// @date@	2006-12-30
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=772
// @desc@	[Issue 772] Bogus error using relation operator as static if expression within template

module dstress.run.o.opCmp_09_D;

template Templ (ulong n) {
	static if (n < 10_LU) {
		const Templ = 9.8;
	}
}

int main(char[][] args){
	const long l = 4;

	auto a = Templ!(l);
	
	return 0;
}