summaryrefslogtreecommitdiff
path: root/test/files/pos/t1152/S.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1152/S.scala')
-rw-r--r--test/files/pos/t1152/S.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/pos/t1152/S.scala b/test/files/pos/t1152/S.scala
new file mode 100644
index 0000000000..7f751c5090
--- /dev/null
+++ b/test/files/pos/t1152/S.scala
@@ -0,0 +1,2 @@
+class S2(fn:(J)=>Any)
+object S { new S2(_.k) }