Mercurial > projects > dstress
view compile/m/mangleof_19_E.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 | a74f0139fc3d |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Don Clugston <clugdbug@yahoo.com.au> // @date@ 2006-11-16 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=532 // @desc@ [Issue 532] New: Wrong name mangling for template alias params of local vars module dstress.compile.m.mangleof_19_E; template Apple(alias F){ typedef int Basket; alias void function (Basket) H; const char [] mangledname = H.mangleof; } template Peach(alias A){ const char [] root = Apple!(A).mangledname; static assert(Apple!(A).mangledname == root); } int main(){ int tree; const char[] s = Peach!(tree).root; return 0; }