Mercurial > projects > dstress
view run/b/bug_d_codegen_1560_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@ Thomas Kuehne <thomas-dloop@kuehne.cn> // @uri@ news:la2373-ccr.ln1@birke.kuehne.cn module dstress.run.b.bug_d_codegen_1560_A; class C{ void set(void[] result){ } void set(int result){ set((&result)[0 .. 1]); } void get(void[] value){ } void get(int value){ get((&value)[0 .. 1]); } } int main(){ return 0; }