Patch: FYI: test for PR 3417

Tom Tromey tromey@redhat.com
Thu Nov 15 17:26:00 GMT 2001


I'm checking this in.

This is the test case from PR 3417.
We should fail to compile this, but currently we don't.

I'm testing a patch for the bug.  I'll submit it as soon as the
testing is done.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	For PR java/3417:
	* libjava.compile/PR3417.xfail: New file.
	* libjava.compile/PR3417.java: New file.

Index: libjava.compile/PR3417.java
===================================================================
RCS file: PR3417.java
diff -N PR3417.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ libjava.compile/PR3417.java Tue Dec 18 08:32:21 2001
@@ -0,0 +1,6 @@
+// Make sure that assignment conversion checks are done for `return'.
+
+class PR3417
+{
+  char func (int i) { return i; }
+}
Index: libjava.compile/PR3417.xfail
===================================================================
RCS file: PR3417.xfail
diff -N PR3417.xfail
--- /dev/null	Tue May  5 13:32:27 1998
+++ libjava.compile/PR3417.xfail Tue Dec 18 08:32:21 2001
@@ -0,0 +1 @@
+shouldfail



More information about the Java-patches mailing list