Mercurial > projects > dstress
view compile/t/template_59_A.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
parents | cb9bda7ca830 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Lionello Lunesu <lio@lunesu.com> // @date@ 2007-02-12 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1054 // @desc@ [Issue 1054] Recursive templates with values, Error: T is used as a type module dstress.compile.t.template_59_A; template Foo( char c ) { const Foo = c; } template Bar(char[] T, int F ){ const Bar = Foo!(T[F]); } static assert('s' == Bar!("asd",1) );