annotate run/s/struct_25_B.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents 8a64fe59ff4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1034
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
1 // $HeadURL$
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
2 // $Date$
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
3 // $Author$
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
4
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
5 // @author@ John C <johnch_atms@hotmail.com>
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
6 // @date@ 2006-05-25
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1034
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=7325
1034
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
8
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
9 module dstress.run.s.struct_25_B;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
10
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
11 struct S1 {
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
12 union {
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
13 int a;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
14 long b;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
15 S2 c;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
16 }
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
17 }
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
18
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
19 struct S2 {
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
20 int d;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
21 }
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
22
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
23 int main(){
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
24 S1 e;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
25 S2 f;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
26 e.c = f;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
27
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
28 return 0;
8a64fe59ff4e DMD 0.158 - Compiler endless loop
thomask
parents:
diff changeset
29 }