Mercurial > projects > dstress
view compile/t/template_53_B.d @ 1622:d402aa53926c
Add test for bug 3092 written by Manuel K?nig
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Tue, 19 Oct 2010 19:18:23 -0300 |
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_B; class Foo(T) { T data; } void bar(T)(Foo!(T) f){ } void test(){ auto x = new Foo!(double); bar!(double)(x); }