Mercurial > projects > dstress
annotate run/t/typeid_91_C.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 | b34b5b54b00a |
children |
rev | line source |
---|---|
1345
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
2 // $Date$ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
3 // $Author$ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
4 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
5 // @author@ Frits van Bommel <fvbommel@wxs.nl> |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
6 // @date@ 2007-01-25 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=887 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 887] TypeInfo does not correctly override opCmp, toHash |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
9 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
10 module dstress.run.t.typeid_91_C; |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
11 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
12 class A{ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
13 } |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
14 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
15 class B{ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
16 } |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
17 |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
18 int main(){ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
19 if(0 == typeid(A).opCmp(typeid(B))){ |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
20 assert(0); |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
21 } |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
22 return 0; |
b34b5b54b00a
[Issue 887] TypeInfo does not correctly override opCmp, toHash
thomask
parents:
diff
changeset
|
23 } |