Mercurial > projects > dstress
view run/b/bug_e2ir_1786_D.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 | b8c0195059d9 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com> // @date@ 2005-08-04 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4683 module dtsress.run.b.bug_e2ir_1786_D; class SomeObject{ } int main(){ SomeObject[] arr = new SomeObject[1]; arr[0]=new SomeObject(); if(arr[0] < arr[0]){ assert(0); }else{ return 0; } }