Mercurial > projects > dstress
view run/b/bug_interpret_96_C.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 | 2346dc04e49f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Kevin Bealer <kevinbealer@gmail.com> // @date@ 2007-02-18 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=981 // @desc@ [Issue 981] CFTE fails in non-template and functions that takes no args. module dstress.run.b.bug_interpret_96_C; char[] foo(){ return "abc"; } struct S(){ const char[] x = foo(); } int main(){ S!() s; if("abc" != s.x){ assert(0); } return 0; }