Mercurial > projects > dstress
comparison run/typeid_50.d @ 435:ec6d35cccfb5
pre dmd-0.121 review
Walter <walter@digitalmars.com>
2005-04-15
mail:000e01c54203$22c0e850$0200a8c0@colossus
author | thomask |
---|---|
date | Sat, 16 Apr 2005 08:18:57 +0000 |
parents | 111c6744074d |
children |
comparison
equal
deleted
inserted
replaced
434:6a553efddc73 | 435:ec6d35cccfb5 |
---|---|
7 | 7 |
8 int main(){ | 8 int main(){ |
9 TypeInfo ti = typeid(ifloat*); | 9 TypeInfo ti = typeid(ifloat*); |
10 assert(!(ti is null)); | 10 assert(!(ti is null)); |
11 assert(ti.tsize==(ifloat*).sizeof); | 11 assert(ti.tsize==(ifloat*).sizeof); |
12 assert(ti.toString()=="ifloat"); | 12 assert(ti.toString()=="ifloat*"); |
13 return 0; | 13 return 0; |
14 } | 14 } |