Mercurial > projects > dstress
view run/b/bug_gimplify_678_A.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +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_A; int main() { int[] arr = new int[1]; arr[$-1] -= 1; if(-1 != arr[0]){ assert(0); } return 0; }