Mercurial > projects > dstress
view run/b/bug_optimize_294_F.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 | 3936e3440370 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Boris Kolar <boris.kolar@globera.com> // @date@ 2006-11-29 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=618 // @desc@ [Issue 618] New: The following program crashes dmd.exe 0.175 module dstress.run.b.bug_optimize_294_F; struct Foo(T) { int dummy; } int main() { if ((Foo!(char)).init == (Foo!(char)).init){ return 0; } return 1; }