From 60798ef2546bca53f9b4cd8914f105a917afb42b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 10 Aug 2000 01:09:12 +0000 Subject: 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/libjava.compile/PR310.java | 9 +++++++++ libjava/testsuite/libjava.compile/PR310.xfail | 1 + 2 files changed, 10 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR310.java create mode 100644 libjava/testsuite/libjava.compile/PR310.xfail (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/PR310.java b/libjava/testsuite/libjava.compile/PR310.java new file mode 100644 index 0000000..a77f6a8 --- /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 0000000..e3b083b --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR310.xfail @@ -0,0 +1 @@ +shouldfail -- cgit v1.1