Mercurial > projects > dstress
annotate run/typeid_73.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 | ec6d35cccfb5 |
children |
rev | line source |
---|---|
133 | 1 /* $HeadURL$ |
2 * $Date$ | |
3 * $Author$ | |
4 */ | |
5 | |
6 module dstress.run.typeid_73; | |
7 | |
8 struct MyClass{ | |
9 int dummy; | |
10 } | |
11 | |
12 int main(){ | |
13 TypeInfo ti = typeid(MyClass); | |
14 assert(!(ti is null)); | |
342 | 15 assert(ti.tsize==(MyClass).sizeof); |
435 | 16 assert(ti.toString()=="dstress.run.typeid_73.MyClass"); |
133 | 17 return 0; |
18 } |