Mercurial > projects > dstress
comparison compile/t/tuple_18_E.d @ 1421:8eb7223bbe9a
[Issue 1026] dmd SEGV when checking length of Tuple elements when length == 0
Russ Lewis <webmaster@villagersonline.com>
2007-03-05
http://d.puremagic.com/issues/show_bug.cgi?id=1026
author | thomask |
---|---|
date | Sun, 11 Mar 2007 11:18:25 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1420:eb761d8edcca | 1421:8eb7223bbe9a |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Russ Lewis <webmaster@villagersonline.com> | |
6 // @date@ 2007-03-05 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1026 | |
8 // @desc@ [Issue 1026] dmd SEGV when checking length of Tuple elements when length == 0 | |
9 | |
10 module dstress.compile.t.tuple_18_E; | |
11 | |
12 template Tuple(Elements...) { | |
13 alias Elements Tuple; | |
14 } | |
15 | |
16 Tuple!() elements; | |
17 | |
18 static assert(elements.length == 0); |