Mercurial > projects > dstress
view run/b/bug_gimplify_678_B.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 | 8ef71fc36ff7 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Frits van Bommel <fvbommel@wxs.nl> // @date@ 2007-04-16 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1155 // @desc@ [Issue 1155] GDC crash (internal compiler error: in mostly_copy_tree_r, at gimplify.c:678) module dstress.run.b.bug_gimplify_678_B; int main() { int[] arr = new int[1]; arr[$-1] = -1; if(-1 != arr[0]){ assert(0); } return 0; }