* libjava.compile/narrow_case.java: New file.
authorTom Tromey <tromey@redhat.com>
Tue, 27 Aug 2002 16:07:02 +0000 (16:07 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 27 Aug 2002 16:07:02 +0000 (16:07 +0000)
From-SVN: r56604

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

index 14452219a54ba173c83b45c8447b4e5cb5397021..5915177d7f569cd9ab81b942f55953d71417ba61 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-26  Tom Tromey  <tromey@redhat.com>
+
+       * libjava.compile/narrow_case.java: New file.
+
 2002-08-25  Adam Megacz <adam@xwt.org>
 
        * lib/libjava.exp: don't apply -no-install when platform is mingw.
diff --git a/libjava/testsuite/libjava.compile/narrow_case.java b/libjava/testsuite/libjava.compile/narrow_case.java
new file mode 100644 (file)
index 0000000..48b5682
--- /dev/null
@@ -0,0 +1,11 @@
+public class narrow_case
+{
+  private int test(byte b)
+  {
+    switch (b)
+      {
+      case '0' :return 0;
+      }
+    return 99;
+  }
+}