Patch: FYI: PR 8955 test
Tom Tromey
tromey@redhat.com
Thu Jan 2 00:05:00 GMT 2003
I'm checking this in on the trunk and the branch.
This is a small test case for PR 8955.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* libjava.compile/pr8955.java: New test, for PR java/8955.
Index: libjava.compile/pr8955.java
===================================================================
RCS file: libjava.compile/pr8955.java
diff -N libjava.compile/pr8955.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ libjava.compile/pr8955.java 2 Jan 2003 00:04:20 -0000
@@ -0,0 +1,13 @@
+public class pr8955
+{
+ static final int val = Integer.MIN_VALUE;
+ void foo()
+ {
+ switch(1) {
+ case val:
+ break;
+ case 1:
+ break;
+ }
+ }
+}
More information about the Java-patches
mailing list