This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: new test case


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]