Mercurial > projects > dstress
annotate nocompile/o/overload_13.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 |
---|---|
916
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
2 // $Date$ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
3 // $Author$ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
4 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
5 // @author@ D Trebbien <D_member@pathlink.com> |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
6 // @date@ 2005-01-07 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
7 // @uri@ news:crmrb6$2slf$1@digitaldaemon.com |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2649 |
916
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
9 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 27 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
11 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.o.overload_13; |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
13 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
14 class A{ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
15 void test(){ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
16 } |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
17 } |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
18 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
19 class B : A{ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
20 void test(int val){ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
21 } |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
22 } |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
23 |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
24 void main(){ |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
25 B b = new B(); |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
26 b.test(1); |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
27 b.test(); |
3753adcf5c3a
partial(S .. X) review of test cases with unexpected results
thomask
parents:
diff
changeset
|
28 } |