view compile/t/template_53_D.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 744c4ec3e3e3
children
line wrap: on
line source

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

// @author@	Bill Baxter <wbaxter@gmail.com>
// @date@	2006-12-14
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=688
// @desc@	[Issue 688] Implicit function template match doesn't work for classes

module dstress.compile.t.template_53_D;

struct Foo(T) {
	T data;
}

void bar(T)(Foo!(T) f){
}

void test(){
	Foo!(double) x;
	bar(x);
}