view nocompile/o/opCmp_09_C.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +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

// __DSTRESS_ELINE__ 23

module dstress.nocompile.o.opCmp_09_C;

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

int main(char[][] args){
	long l = args.length;

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