view compile/t/tuple_26_A.d @ 1557:de3b217ccd1e

[Issue 1344] Can't implicitly convert literal 0 to typedef of ulong Russ Lewis <webmaster@villagersonline.com> 2007-07-17 http://d.puremagic.com/issues/show_bug.cgi?id=1344
author thomask
date Mon, 23 Jul 2007 18:46:24 +0000
parents 7f8c2e529d37
children
line wrap: on
line source

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

// @author@	Thomas Kühne <thomas-dloop@kuehne.cn>
// @date@	2007-02-15
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=963
// @desc@	[Issue 963] tuples & array literals: Error: non-constant expression ["abc","1"]

module dstress.compile.t.tuple_26_A;

template A(T ...){
	const A = T[0]; 
}

mixin A!(["abc", "1"]);