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