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: test for PR 3417


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


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