From 78581eef66febfca36beac5b922aac107932e19e Mon Sep 17 00:00:00 2001 From: Kathy Gray Date: Tue, 7 Feb 2006 21:05:37 +0000 Subject: [PATCH] svn: r2165 --- collects/tests/profj/intermediate-tests.ss | 9 +++++++++ 1 file changed, 9 insertions(+) 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 { }"