summaryrefslogtreecommitdiff
path: root/test/files/pos/t4737
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t4737')
-rw-r--r--test/files/pos/t4737/J_1.java9
-rw-r--r--test/files/pos/t4737/S_2.scala10
2 files changed, 19 insertions, 0 deletions
diff --git a/test/files/pos/t4737/J_1.java b/test/files/pos/t4737/J_1.java
new file mode 100644
index 0000000000..284afd6c10
--- /dev/null
+++ b/test/files/pos/t4737/J_1.java
@@ -0,0 +1,9 @@
+package j;
+
+public class J_1 {
+ protected class JavaInnerClass {
+ }
+ public void method(JavaInnerClass javaInnerclass) {
+ System.out.println("hello");
+ }
+}
diff --git a/test/files/pos/t4737/S_2.scala b/test/files/pos/t4737/S_2.scala
new file mode 100644
index 0000000000..8598466557
--- /dev/null
+++ b/test/files/pos/t4737/S_2.scala
@@ -0,0 +1,10 @@
+package s
+
+import j.J_1
+
+class ScalaSubClass extends J_1 {
+ override def method(javaInnerClass: J_1#JavaInnerClass) {
+ println("world")
+ }
+}
+