Mercurial > projects > dstress
view nocompile/b/bug_type_308_H.d @ 1069:eb15e24d4606
#!/bin/bash
svn commit --file l.1 run/t/template_36_*d
author | thomask |
---|---|
date | Tue, 04 Jul 2006 17:04:39 +0000 |
parents | |
children | daef239f37cf |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ <godaves@yahoo.com> // @date@ 2006-06-27 // @uri@ news:bug-227-3@http.d.puremagic.com/issues/ // __DSTRESS_ELINE__ 28 module dstress.nocompile.b.bug_type_308_H; struct S{ int i; S foo(int x){ S s; s.i = x; return s; } } int main(){ S[] s; s ~= S.foo(6); return 0; }