Mercurial > projects > dstress
view compile/t/tuple_04_B.d @ 1242:11f43a5eef14
[Issue 586] New: Cannot index tuple with non-type elements
Kirk McDonald <kirklin.mcdonald@gmail.com>
2006-11-23
news:bug-586-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Sat, 25 Nov 2006 17:53:33 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Kirk McDonald <kirklin.mcdonald@gmail.com> // @date@ 2006-11-23 // @uri@ news:bug-586-3@http.d.puremagic.com/issues/ // @desc@ [Issue 586] New: Cannot index tuple with non-type elements module dstress.compile.t.tuple_04_B; template Templ(T ...) { T[1] x; } static assert(is(typeof(Templ!(float, char, 1.0).x) == char));