Mercurial > projects > dstress
view run/b/bug_optimize_294_B.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 | e6887749b811 |
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_B; struct Foo(T) { } int main() { if ((Foo!(char)).init != (Foo!(char)).init){ return 1; } return 0; }