From 60798ef2546bca53f9b4cd8914f105a917afb42b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 10 Aug 2000 01:09:12 +0000 Subject: [PATCH] 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 --- libjava/testsuite/ChangeLog | 6 ++++++ libjava/testsuite/libjava.compile/PR310.java | 9 +++++++++ libjava/testsuite/libjava.compile/PR310.xfail | 1 + 3 files changed, 16 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR310.java create mode 100644 libjava/testsuite/libjava.compile/PR310.xfail 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 -- 2.30.2