pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
-
test_true([["$Id: testsuite.in,v 1.
592
2003/
09
/
11
19
:
23
:
54
mast Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
593
2003/
10
/
10
01
:
20
:
14
mast Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals()) ]]); test_eq(1e1,10.0); test_eq(1E1,10.0);
pike.git/src/testsuite.in:129:
test_compile_any([[ void foo() { Stdio.File bar(int x, int y) { return 0; }; } ]])
+
test_compile_any([[
+
string foo (string a, string b, string c, string d, string e, string f, string g)
+
{
+
string out;
+
if (a)
+
out = "foo";
+
else
+
out = "bar";
+
return out;
+
}
+
]])
-
+
dnl FIXME: Add test that local and local:: in combination dnl with recursion works correctly. test_eval_error([[mixed x; return mkmapping(x,x)]]); test_eval_error([[class Foo { void bar() {} void foo() {destruct(this_object());bar();} }; Foo()->foo();