Mercurial > projects > dstress
annotate nocompile/o/opCmp_08_M.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 | daef239f37cf |
children |
rev | line source |
---|---|
1122
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
2 // $Date$ |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
3 // $Author$ |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
4 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
5 // @author@ Lionello Lunesu <lio@lunesu.com> |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
6 // @date@ 2006-07-20 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1122
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=259 |
1122
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 259] New: Comparing signed to unsigned does not generate an error |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
9 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 18 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
11 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.o.opCmp_08_M; |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
13 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
14 void foo(){ |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
15 long a = 1; |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
16 ulong b = 1; |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
17 |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
18 if(a <= b){ |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
19 a++; |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
20 } |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
21 } |
1430561a2f89
[Issue 259] New: Comparing signed to unsigned does not generate an error
thomask
parents:
diff
changeset
|
22 |