This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: PR 8955 test


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;
+    }
+  }
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]