Skip to content
Snippets Groups Projects
Commit 3b900918 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added one more test.

Rev: src/testsuite.in:1.72
parent a0a93792
No related branches found
No related tags found
No related merge requests found
test_true([["$Id: testsuite.in,v 1.71 1998/02/10 14:38:06 grubba Exp $"]])
test_true([["$Id: testsuite.in,v 1.72 1998/02/11 00:56:20 grubba Exp $"]])
test_eq(1e1,10.0)
test_eq(1E1,10.0)
test_eq(1e+1,10.0)
......@@ -31,6 +31,11 @@ test_equal( [[ ({ (["foo":"bar"]), (<"foo">), ([]) })->foo ]], [[ ({"bar",1,0})
test_any([[mixed a=({([]),0}); a[1]=a; return a->foo[0];]],0)
test_eval_error([[return column(({0}),"foo");]])
test_any([[
class A { constant a=0; int foo() { return a; } };
class B { inherit A; constant a=1; };
return B()->foo(); ]], 1)
test_any([[
class p1 { int foo() { return 1; }};
class p2 { int foo() { return 3; }};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment