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