Mercurial > projects > dstress
view run/b/bug_glue_700_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 | e5ceb8a4792c |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Kevin Bealer <kevinbealer@gmail.com> // @date@ 2007-01-22 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=875 // @desc@ [Issue 875] crash in glue.c line 700 module dstress.run.b.bug_glue_700_A; class Foo(A){ this(A a){ } } int mk_future(A, B...)(A, B){ typedef B TArgs; Foo!(TArgs) TFoo; return 0; } int main(){ int bongos(){ return 0; } mk_future(bongos); return 0; }