diff --git a/collects/tests/profj/intermediate-tests.ss b/collects/tests/profj/intermediate-tests.ss index 7e04feb38b..3793161e66 100644 --- a/collects/tests/profj/intermediate-tests.ss +++ b/collects/tests/profj/intermediate-tests.ss @@ -302,6 +302,15 @@ ;;Execute tests with errors + (execute-test + "class Foo { + Foo() {} + boolean compare(int x, int y, int z) { + return (x == y) (y == z); + } +}" + 'intermediate #t "Parse error, two expressions (one parened) without an operator") + (execute-test "abstract class F{ abstract int f(); } class G extends F { }"