aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR3417.java6
-rw-r--r--libjava/testsuite/libjava.compile/PR3417.xfail1
2 files changed, 7 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR3417.java b/libjava/testsuite/libjava.compile/PR3417.java
new file mode 100644
index 0000000..e5f251a
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR3417.java
@@ -0,0 +1,6 @@
+// Make sure that assignment conversion checks are done for `return'.
+
+class PR3417
+{
+ char func (int i) { return i; }
+}
diff --git a/libjava/testsuite/libjava.compile/PR3417.xfail b/libjava/testsuite/libjava.compile/PR3417.xfail
new file mode 100644
index 0000000..e3b083b
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR3417.xfail
@@ -0,0 +1 @@
+shouldfail