view run/t/tuple_13_C.d @ 1514:891196dcfc3a

[Issue 1068] stack corruption with mixins and function templates Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl> 2007-03-19 http://d.puremagic.com/issues/show_bug.cgi?id=1068
author thomask
date Wed, 25 Apr 2007 17:46:32 +0000
parents a16119ef8f21
children
line wrap: on
line source

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

// @author@	<kamm@incasoftware.de>
// @date@	2006-12-27
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=756
// @desc@	[Issue 756] IFTI for tuples only works if tuple parameter is last

module dstress.run.t.tuple_13_C;

void foo(U...)(U u, int t) {
}

int main(){
	foo!(int, int)(1, 2, 3);
	return 0;
}