From 144143c2970a1e874d74cdbd0f8c622d4282a3c3 Mon Sep 17 00:00:00 2001 From: wisberg Date: Mon, 16 Dec 2002 18:51:06 +0000 Subject: initial version --- tests/harness/ErrorTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/harness/ErrorTest.java (limited to 'tests/harness/ErrorTest.java') diff --git a/tests/harness/ErrorTest.java b/tests/harness/ErrorTest.java new file mode 100644 index 000000000..6adc5f891 --- /dev/null +++ b/tests/harness/ErrorTest.java @@ -0,0 +1,9 @@ + + +public class ErrorTest { + static Integer i() { return Integer.valueOf("0"); } + int i = i(); // CE 5 always + int j = i(); // CE 6 always +} + + -- cgit v1.2.3