Branch: Tag:

2011-09-04

2011-09-04 10:51:04 by Martin Nilsson <nilsson@opera.com>

Testsuite: Added test for [bug 6062 (#6062)].

Thanks to Martin Nilsson <nilsson@opera.com> for the report and testcase.

440:    X()->s = (mixed) X();   ]])    + test_any([[ +  // Bug 6062 +  class C { mapping options = ([ 1:1 ]); }; +  C c = C(); +  c->options[3] = 3; +  c = C(); +  return sizeof(c->options) == 1; + ]], 1) +    dnl bug in for loop optimization in combination with +=      test_any([[