view nocompile/t/typeof_14_A.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 daef239f37cf
children
line wrap: on
line source

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

// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
// @date@	2006-10-06
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=405
// @desc@	[Issue 405] New: typeof in TemplateParameterList causes compiletime segmentfault

// __DSTRESS_ELINE__ 14

module dstress.nocompile.t.typeof_14_A;

template square(typeof(x) x){
	const square = x * x;
}

const b = square!(2);