Mercurial > projects > dstress
annotate nocompile/b/bug_type_308_H.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | eb15e24d4606 |
children |
rev | line source |
---|---|
1069 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <godaves@yahoo.com> | |
6 // @date@ 2006-06-27 | |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1069
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=227 |
1069 | 8 |
9 // __DSTRESS_ELINE__ 28 | |
10 | |
11 module dstress.nocompile.b.bug_type_308_H; | |
12 | |
13 struct S{ | |
14 int i; | |
15 | |
16 S foo(int x){ | |
17 S s; | |
18 | |
19 s.i = x; | |
20 | |
21 return s; | |
22 } | |
23 } | |
24 | |
25 int main(){ | |
26 S[] s; | |
27 | |
28 s ~= S.foo(6); | |
29 | |
30 return 0; | |
31 } |