view run/t/template_61_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 2846120b9538
children
line wrap: on
line source

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

// @author@	Bruno Medeiros	<brunodomedeiros+bugz@gmail.com>
// @date@	2007-04-14
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1143
// @desc@	[Issue 1143] Assertion failure: '0' on line 850 in 'template.c' - On specialization of IFTI template parameters.

module dstress.run.t.template_61_A;

void foo(T, U = T)(char[] data, T t){
}

int main(){
	foo("abc", 1);
	return 0;
}