Mercurial > projects > dstress
annotate nocompile/union_11.d @ 1485:774e02c900da
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 12:03:23 +0000 |
parents | 52c9e86b6486 |
children |
rev | line source |
---|---|
162 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com> | |
6 // @date@ 2004-11-15 | |
7 // @uri@ news:cn9vah$1shn$1@digitaldaemon.com | |
1485 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2270 |
162 | 9 |
435 | 10 // __DSTRESS_ELINE__ 14 |
374 | 11 |
162 | 12 module dstress.nocompile.union_11; |
13 | |
14 union { | |
15 short s=1234; | |
16 byte b; | |
17 } | |
18 | |
19 int main(){ | |
20 assert(s==1234); | |
21 return 0; | |
22 } |