Mercurial > projects > dstress
view run/t/template_63_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 | 37c4fce34442 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Leo Dahlmann <leo.dahlmann@gmail.com> // @date@ 2007-04-23 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1178 // @desc@ [Issue 1178] templates - deduction + specialization won't compile module dstress.run.t.template_63_D; template outer(O){ O inner(I)(float x, I i){ return cast(O) x; } } int main(){ if(5.0L != outer!(double).inner!(char[])(5.0, "hi")){ assert(0); } return 0; }