Mercurial > projects > dstress
annotate run/cast_20.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 | d3a3e0c251d8 |
children |
rev | line source |
---|---|
306 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Tintor Marko <tm030127d@galeb.etf.bg.ac.yu> | |
6 // @date@ 2005-03-13 | |
7 // @uri@ news:opsnk5ihes1w2jp2@pentium2 | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3159 |
306 | 9 |
10 module dstress.run.cast_20; | |
11 | |
12 bool equal(byte* a, byte* b){ | |
13 return (!a || !b) ? (!a && !b) : bug(); | |
14 } | |
15 | |
16 bool bug(){ | |
17 return false; | |
18 } | |
19 | |
20 int main(){ | |
21 return 0; | |
22 } |