From: Tom Tromey Date: Thu, 10 Aug 2000 01:09:12 +0000 (+0000) Subject: re GNATS gcj/310 (illegal type "long" accepted for "switch" expression) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60798ef2546bca53f9b4cd8914f105a917afb42b;p=gcc.git re GNATS gcj/310 (illegal type "long" accepted for "switch" expression) From PR gcj/310: * libjava.compile/PR310.java: New file. * libjava.compile/PR310.xfail: New file. From-SVN: r35596 --- diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index b0bfda3f1e2..ff9b8a668ab 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2000-08-09 Tom Tromey + + From PR gcj/310: + * libjava.compile/PR310.java: New file. + * libjava.compile/PR310.xfail: New file. + 2000-07-30 Anthony Green * 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 index 00000000000..a77f6a83e86 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR310.java @@ -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 index 00000000000..e3b083b1fa5 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR310.xfail @@ -0,0 +1 @@ +shouldfail