Mercurial > projects > dstress
view compile/t/template_35_A.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 | 083f68b5b904 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Li Jie <cpunion@gmail.com> // @date@ 2006-04-11 // @uri@ news:e1fa64$17nq$1@digitaldaemon.com module dstress.compile.t.template_35_A; template foo(char[] str){ const char[] foo = bar!(str); } template bar(char[] str){ const char[] bar = str; } static assert(foo!("abc") == "abc");