Mercurial > projects > dstress
view run/o/opDiv_11_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 | 9dcac8d4e97f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Hiroshi Sakurai <Hiroshi_member@pathlink.com> // @date@ 2005-08-24 // @uri@ news:dehc8m$1nk5$1@digitaldaemon.com // @uri@ http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F19 module dstress.run.o.opDiv_11_B; int main(){ assert(1 == 3/3); assert(-1 == -3/3); assert(-1 == 3/-3); assert(1 == -3/-3); assert(-1 == (-3)/3); assert(1 == (-3)/(-3)); assert(-1 == 3/(-3)); return 0; }