summaryrefslogtreecommitdiff
path: root/test/files/pos/t2409
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t2409')
-rw-r--r--test/files/pos/t2409/J.java4
-rw-r--r--test/files/pos/t2409/t2409.scala1
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t2409/J.java b/test/files/pos/t2409/J.java
new file mode 100644
index 0000000000..6b7c45ff6d
--- /dev/null
+++ b/test/files/pos/t2409/J.java
@@ -0,0 +1,4 @@
+class J {
+ static class J2 { }
+ J(J2 j2) { }
+}
diff --git a/test/files/pos/t2409/t2409.scala b/test/files/pos/t2409/t2409.scala
new file mode 100644
index 0000000000..5775008fc4
--- /dev/null
+++ b/test/files/pos/t2409/t2409.scala
@@ -0,0 +1 @@
+object S { new J(null) } \ No newline at end of file