view compile/t/tuple_08_A.d @ 1320:daef239f37cf

sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:59:08 +0000
parents 06c7337c4bd6
children
line wrap: on
line source

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

// @author@	Bill Baxter <wbaxter@gmail.com>
// @date@	2006-11-12
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=495
// @desc@	[Issue 495] New: ICE passing variadic arglist to another variadic template

module dstress.compile.t.tuple_08_A;

template g(T...){
	const g = T.length;
}

template f(T...){
	const f = g!(T);
}

static assert(f!(7, 5.6f) == 2);