pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2016-11-05
2016-11-05 16:59:05 by Arne Goedeke <el@laramies.com>
b3776a366da9109f1789fb0dab537e3c8dd7b338 (
6
lines) (+
6
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
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