Mercurial > projects > dstress
view compile/m/mangleof_19_E.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 01942d3423b2 |
children | a74f0139fc3d |
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 = typeof(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; }