Mercurial > projects > dstress
comparison run/dchar_03.d @ 144:0e1a3785ec97
1) added missing @url@/@uri@ tags
2) added dchar tests
3) cleanup of opPos, opNeg
4) renamed "classes" -> "class"
author | thomask |
---|---|
date | Wed, 17 Nov 2004 12:48:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
143:8784e1a831b8 | 144:0e1a3785ec97 |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.dchar_03; | |
6 | |
7 int main(){ | |
8 dchar c; | |
9 assert(dchar.sizeof==4); | |
10 assert(dchar.sizeof==c.sizeof); | |
11 assert(dchar.sizeof==(cast(dchar)'a').sizeof); | |
12 assert(dchar.sizeof==typeof(c).sizeof); | |
13 return 0; | |
14 } |