view compile/t/tuple_07_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 daef239f37cf
children
line wrap: on
line source

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

// @author@	Nazo Humei <lovesyao@hotmail.com>
// @date@	2006-11-12
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=494
// @desc@	[Issue 494] New: template's variadic argument can't use as type

module dstress.compile.t.tuple_07_C;

template test(TA...){
	const TA[0] test = TA[0].init;
}

static assert(test!(X) == cast(X)4);

typedef int X = 4;