Browse Source

more tests

Vladislav Folts 11 years ago
parent
commit
a58212e8ad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test/test_unit.js

+ 1 - 0
test/test_unit.js

@@ -796,6 +796,7 @@ return {
     fail(["p1(c)", "constant cannot be used as VAR parameter"],
          ["p1(123)", "expression cannot be used as VAR parameter"],
          ["p2(TRUE)", "expression cannot be used as VAR parameter"],
+         ["procBasePointer(NIL)", "expression cannot be used as VAR parameter"],
          ["p1(i1 + i1)", "expression cannot be used as VAR parameter"],
          ["p1(i1 * i1)", "expression cannot be used as VAR parameter"],
          ["p1(+i1)", "expression cannot be used as VAR parameter"],