Branch: Tag:

2016-11-05

2016-11-05 16:59:05 by Arne Goedeke <el@laramies.com>

Testsuite: added some tests for array indexing

4500:   test_any([[mixed a=({([]),0}); a[1]=a; return a->foo[0];]],0)   test_eval_error([[return column(({0}),"foo");]])    + test_equal([[ ({ })->foo ]], ({ })) + test_equal([[ `->(({ }), "foo") ]], ({ })) + test_equal([[ ({ })["foo"] ]], ({ })) +    test_any([[   class A { constant a=0; int foo() { return a; } };   class B { inherit A; constant a=1; };
13994:    return A(0)->get(UNDEFINED);   ]])    +    END_MARKER