Mercurial > projects > dstress
view compile/t/tuple_18_B.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 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Russ Lewis <webmaster@villagersonline.com> // @date@ 2007-03-05 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1026 // @desc@ [Issue 1026] dmd SEGV when checking length of Tuple elements when length == 0 module dstress.compile.t.tuple_18_B; template Tuple(Elements...) { alias Elements Tuple; } struct foo { Tuple!(int) elements; } static assert(foo.elements.length == 1);