Mercurial > projects > dstress
comparison compile/t/tuple_08_A.d @ 1277:06c7337c4bd6
[Issue 495] New: ICE passing variadic arglist to another variadic template
Bill Baxter <wbaxter@gmail.com>
2006-11-12
news:bug-495-3@http.d.puremagic.com/issues/
author | thomask |
---|---|
date | Sat, 23 Dec 2006 19:47:18 +0000 |
parents | |
children | daef239f37cf |
comparison
equal
deleted
inserted
replaced
1276:3054c226a571 | 1277:06c7337c4bd6 |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Bill Baxter <wbaxter@gmail.com> | |
6 // @date@ 2006-11-12 | |
7 // @uri@ news:bug-495-3@http.d.puremagic.com/issues/ | |
8 // @desc@ [Issue 495] New: ICE passing variadic arglist to another variadic template | |
9 | |
10 module dstress.compile.t.tuple_08_A; | |
11 | |
12 template g(T...){ | |
13 const g = T.length; | |
14 } | |
15 | |
16 template f(T...){ | |
17 const f = g!(T); | |
18 } | |
19 | |
20 static assert(f!(7, 5.6f) == 2); |