view compile/t/tuple_26_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 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"]);