Mercurial > projects > dstress
view compile/t/tuple_18_F.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 26bcea00b742 |
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_F; template Tuple(Elements...) { alias Elements Tuple; } struct Foo{ } struct Bar{ Tuple!(Foo) elements; } static assert(Bar.elements.length == 1);