Mercurial > projects > dstress
view compile/t/template_53_C.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
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_C; struct Foo(T) { T data; } void bar(T)(Foo!(T) f){ } void test(){ Foo!(double) x; bar!(double)(x); }