Mercurial > projects > dstress
view nocompile/l/length_01.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 | 52c9e86b6486 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=950 // @desc@ [Issue 950] Missing filename and line number: conflict between implicit length in [...] and explicit length declared in the scope // __DSTRESS_ELINE__ 19 module dstress.nocompile.l.length_01; int main(){ byte[3] array; array[0]=2; array[1]=4; array[2]=8; int length=1; assert(length-1==0); assert(array[length-1]==8); return 0; }