Mercurial > projects > dstress
view run/b/bug_d_codegen_981_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 | 03b5056496f1 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Carlos Santander <csantander619@gmail.com> // @date@ 2005-09-23 // @uri@ news:dh20kq$1rhr$1@digitaldaemon.com // @desc@ internal compiler error: in rawArray, at d/d-codegen.cc:981 module dstress.run.b.bug_d_codegen_981_A; int main(){ char [] bar="test"; char [] foo; foo="<"~bar[0]; if(foo.length != 2){ assert(0); } if(foo != "<t"){ assert(0); } return 0; }