annotate compile/union_10.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents 7f61ab8d5df0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
137
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
1 // $HeadURL$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
2 // $Date$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
3 // $Author$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
4
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
6 // @date@ 2004-11-15
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 137
diff changeset
7 // @uri@ news:cn9vah$1shn$1@digitaldaemon.com
1486
7f61ab8d5df0 changed nntp: URLs to http: URLs
thomask
parents: 1385
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2270
137
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
9
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
10 module dstress.compile.union_10;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
11
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
12 class MyClass{
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
13 union {
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
14 int dummy=3;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
15 byte b;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
16 }
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
17 int i = 1;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
18 }