* libjava.compile/pr8955.java: New test, for PR java/8955.
authorTom Tromey <tromey@redhat.com>
Thu, 2 Jan 2003 00:05:14 +0000 (00:05 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 2 Jan 2003 00:05:14 +0000 (00:05 +0000)
From-SVN: r60764

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/pr8955.java [new file with mode: 0644]

index d77e3145f638639557c4a295a7d2d4485276c988..90e98a922e647ff555e833031ebd6f05e0081ec9 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-01  Tom Tromey  <tromey@redhat.com>
+
+       * libjava.compile/pr8955.java: New test, for PR java/8955.
+
 2002-12-19  Tom Tromey  <tromey@redhat.com>
 
        * libjava.jacks/jacks.xfail: Updated.
diff --git a/libjava/testsuite/libjava.compile/pr8955.java b/libjava/testsuite/libjava.compile/pr8955.java
new file mode 100644 (file)
index 0000000..ae78f50
--- /dev/null
@@ -0,0 +1,13 @@
+public class pr8955
+{
+  static final int val = Integer.MIN_VALUE;
+  void foo()
+  {
+    switch(1) {
+    case val:
+      break;
+    case 1:
+      break;
+    }
+  }
+}