Mercurial > projects > dstress
view run/t/template_61_C.d @ 1589:c82cb55ee1ea
Fix module headers.
Move static_34_A to nocompile: cannot call new for a nested class within a static function.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 22:05:07 +0200 |
parents | d20691fd37af |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Bruno Medeiros <brunodomedeiros+bugz@gmail.com> // @date@ 2007-04-14 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1143 // @desc@ [Issue 1143] Assertion failure: '0' on line 850 in 'template.c' - On specialization of IFTI template parameters. module dstress.run.t.template_61_C; void foo(T, U : float = T)(char[] data, T t){ } int main(){ foo("abc", 1); return 0; }