aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR3417.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/PR3417.java')
-rw-r--r--libjava/testsuite/libjava.compile/PR3417.java6
1 files changed, 6 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; }
+}