pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:2976:
} } "; add_constant("A",A); compile_string(to_compile); add_constant("A"); return 0; ]], 0)
+
test_any_equal([[
+
// Test automap combined with splice. [LysLysKOM 23258037]
+
array ret = ({});
+
for (int x = 0; x < 10; x++) {
+
array a = ({ x, });
+
ret += `+(a[*], @a);
+
}
+
return ret;
+
]], ({ 0, 2, 4, 6, 8, 10, 12, 14, 16, 18 }))
+
test_any([[ // Test eval_low() on seemingly constant expressions, that // attempt to access variables in the fake object. [Bug 5273] // An old pike (with RTL debug) will fail with the fatal // "Invalid type 33896 in svalue at 891e510." // during compilation. class Test { protected object foo;