re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
authorTom Tromey <tromey@cygnus.com>
Thu, 10 Aug 2000 01:09:12 +0000 (01:09 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 10 Aug 2000 01:09:12 +0000 (01:09 +0000)
From PR gcj/310:
* libjava.compile/PR310.java: New file.
* libjava.compile/PR310.xfail: New file.

From-SVN: r35596

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

index b0bfda3f1e2564f2bb89c24428598649e963f2ed..ff9b8a668ab10e6a2b81db589bc5ec23729ed5a0 100644 (file)
@@ -1,3 +1,9 @@
+2000-08-09  Tom Tromey  <tromey@cygnus.com>
+
+       From PR gcj/310:
+       * libjava.compile/PR310.java: New file.
+       * libjava.compile/PR310.xfail: New file.
+
 2000-07-30  Anthony Green  <green@redhat.com>
 
        * libjava.compile/PR295.java: New file.
diff --git a/libjava/testsuite/libjava.compile/PR310.java b/libjava/testsuite/libjava.compile/PR310.java
new file mode 100644 (file)
index 0000000..a77f6a8
--- /dev/null
@@ -0,0 +1,9 @@
+public class PR310
+{
+  void m (long l)
+  {
+    switch (l)
+      {
+      }
+  }
+}
diff --git a/libjava/testsuite/libjava.compile/PR310.xfail b/libjava/testsuite/libjava.compile/PR310.xfail
new file mode 100644 (file)
index 0000000..e3b083b
--- /dev/null
@@ -0,0 +1 @@
+shouldfail