view compile/t/tuple_04_E.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 11f43a5eef14
children
line wrap: on
line source

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

// @author@	Kirk McDonald <kirklin.mcdonald@gmail.com>
// @date@	2006-11-23
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=586
// @desc@	[Issue 586] New: Cannot index tuple with non-type elements

module dstress.compile.t.tuple_04_E;

template Templ(T ...) {
	const Templ = T[1];
}

static assert(Templ!(3, 0x12_34_AB_CD, int) == 0x_12_34_AB_CD);