Mercurial > projects > dstress
annotate run/typeid_34.d @ 1599:d37b19f7e8bb
Move run/c/case_01 to nocompile.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 17:28:31 +0200 |
parents | 111c6744074d |
children |
rev | line source |
---|---|
133 | 1 /* $HeadURL$ |
2 * $Date$ | |
3 * $Author$ | |
4 */ | |
5 | |
6 module dstress.run.typeid_34; | |
7 | |
8 int main(){ | |
9 TypeInfo ti = typeid(uint); | |
10 assert(!(ti is null)); | |
342 | 11 assert(ti.tsize==(uint).sizeof); |
334
c1ca2f37362b
added TypeInfo.toString checks to detect 'cheating'
thomask
parents:
133
diff
changeset
|
12 assert(ti.toString()=="uint"); |
133 | 13 return 0; |
14 } |