This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: new test case
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 10 Feb 2002 17:41:05 -0700
- Subject: Patch: FYI: new test case
- Reply-to: tromey at redhat dot com
I'm checking this in.
This is the test case from PR 5641.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
For PR java/5641:
* libjava.compile/PR5641.xfail: New file.
* libjava.compile/PR5641.java: New file.
Index: libjava.compile/PR5641.java
===================================================================
RCS file: PR5641.java
diff -N PR5641.java
--- /dev/null Tue May 5 13:32:27 1998
+++ libjava.compile/PR5641.java Sun Feb 10 16:17:22 2002
@@ -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)
+ {
+ }
+}
Index: libjava.compile/PR5641.xfail
===================================================================
RCS file: PR5641.xfail
diff -N PR5641.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ libjava.compile/PR5641.xfail Sun Feb 10 16:17:22 2002
@@ -0,0 +1,2 @@
+no-link
+xfail-byte