Mercurial > projects > dstress
annotate run/byte_11.d @ 0:3269e4627918
init dstress
author | svnowner |
---|---|
date | Sat, 25 Sep 2004 22:33:30 +0000 |
parents | |
children | 3414705c41ac |
rev | line source |
---|---|
0 | 1 // $Header: /home/th/Dokumente/Entwicklung/MEIN_CVS/MiniD/src/run/byte_11.d,v 1.2 2004/08/21 21:38:30 th Exp $ |
2 | |
3 int main(){ | |
4 byte a; | |
5 | |
6 assert(a.sizeof == 1); | |
7 assert(byte.sizeof == 1); | |
8 assert((cast(byte)1).sizeof == 1); | |
9 assert(typeid(byte).tsize() == 1); | |
10 | |
11 return 0; | |
12 } |