Mercurial > projects > dstress
view compile/t/template_35_A.d @ 963:1e495c60b3cd
Li Jie <cpunion@gmail.com>
2006-04-11
news:e1fa64$17nq$1@digitaldaemon.com
author | thomask |
---|---|
date | Fri, 14 Apr 2006 10:24:16 +0000 |
parents | |
children | 083f68b5b904 |
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"):