Branch: Tag:

2001-10-02

2001-10-02 09:16:55 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

I see no reason why []=({}); should be allowed, so the test goes.

Rev: src/testsuite.in:1.458

1: - test_true([["$Id: testsuite.in,v 1.457 2001/10/01 19:54:13 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.458 2001/10/02 09:16:55 hubbe Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
834:   test_any([[ int a; catch { [a]=({1,2}); }; return 1]],1)   test_any([[ int a,b; catch { [a,b]=({1}); }; return 1]],1)   test_any([[ mapping m=([]); m[m]=m; return stringp(sprintf("%O",m)); ]],1) - test_any([[ - // don't know if this /should/ be valid /Mirar - // remove if it shouldn't - array a=({}); - []=a; return 1; ]],1) + dnl test_any([[ + dnl // don't know if this /should/ be valid /Mirar + dnl // remove if it shouldn't + dnl + dnl // I see no reason this should be allowed - Hubbe + dnl + dnl array a=({}); + dnl []=a; return 1; ]],1)      test_any([[    int q() { throw(1); };