Mercurial > projects > dstress
view run/c/const_28_E.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 | 20d8ee6523e1 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Manfred Nowak <svv1999@hotmail.com> // @date@ 2005-12-09 // @uri@ news:ns972710D168DCEsvv1999hotmailcom@63.105.9.61 module dstress.run.c.const_28_E; const uint a = 4000; const uint b = 1024; const uint arity= a * b; struct Leaf{ int[arity] data; } void init(ref Leaf* leaf){ leaf= new Leaf; } int main(){ if(Leaf.data.length == a * b){ return 0; } }