Mercurial > projects > dstress
view run/b/bug_cod1_2528_B.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 | ef3062e62d77 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Vladimir <thecybershadow@gmail.com> // @date@ 2007-04-03 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1092 // @desc@ [Issue 1092] compiler crash in ..\ztc\cod1.c 2528 module dstress.run.b.bug_cod1_2528_B; int main(){ byte x = 'Z'; byte[] y = [x]; void[] z = cast(void[])y; if('Z' != (cast(byte[]) z)[0]){ assert(0); } return 0; }