aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-02-11 00:18:52 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-02-11 00:18:52 +0000
commit62deb2118ba786598b29db5d565d6a6e1deea90f (patch)
tree95f982d2317357376084349609afb6336d5ce1bf /libjava/testsuite/libjava.compile
parent96b9910446b528963ae7894faee9a3e29b782d5a (diff)
downloadgcc-62deb2118ba786598b29db5d565d6a6e1deea90f.zip
gcc-62deb2118ba786598b29db5d565d6a6e1deea90f.tar.gz
gcc-62deb2118ba786598b29db5d565d6a6e1deea90f.tar.bz2
For PR java/5641:
* libjava.compile/PR5641.xfail: New file. * libjava.compile/PR5641.java: New file. From-SVN: r49660
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR5641.java20
-rw-r--r--libjava/testsuite/libjava.compile/PR5641.xfail2
2 files changed, 22 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR5641.java b/libjava/testsuite/libjava.compile/PR5641.java
new file mode 100644
index 0000000..8c7d3aa
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR5641.java
@@ -0,0 +1,20 @@
+interface I
+{
+ void m();
+}
+abstract class C implements I {}
+class Foo
+{
+ void Bar(C c)
+ {
+ c.m();
+ }
+ void blah(C c)
+ {
+ c.m();
+ }
+
+ public static void main (String[] args)
+ {
+ }
+}
diff --git a/libjava/testsuite/libjava.compile/PR5641.xfail b/libjava/testsuite/libjava.compile/PR5641.xfail
new file mode 100644
index 0000000..b3630c9
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR5641.xfail
@@ -0,0 +1,2 @@
+no-link
+xfail-byte