Mercurial > projects > dstress
comparison run/t/template_61_C.d @ 1588:d20691fd37af
Move template_61_C from nocompile to run.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 25 Aug 2008 21:56:28 +0200 |
parents | nocompile/t/template_61_C.d@2846120b9538 |
children | c82cb55ee1ea |
comparison
equal
deleted
inserted
replaced
1587:cbb1aac64165 | 1588:d20691fd37af |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Bruno Medeiros <brunodomedeiros+bugz@gmail.com> | |
6 // @date@ 2007-04-14 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1143 | |
8 // @desc@ [Issue 1143] Assertion failure: '0' on line 850 in 'template.c' - On specialization of IFTI template parameters. | |
9 | |
10 // __DSTRESS_ELINE__ 18 | |
11 | |
12 module dstress.nocompile.t.template_61_C; | |
13 | |
14 void foo(T, U : float = T)(char[] data, T t){ | |
15 } | |
16 | |
17 int main(){ | |
18 foo("abc", 1); | |
19 return 0; | |
20 } |