Mercurial > projects > dstress
view compile/t/template_35_A.d @ 1078:083f68b5b904
<webmaster@villagersonline.com>
2006-07-06
mail:bug-244-6@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Mon, 10 Jul 2006 10:51:42 +0000 |
parents | 1e495c60b3cd |
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");