summaryrefslogtreecommitdiff
path: root/test/files/run/bug4119/S.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bug4119/S.scala')
-rw-r--r--test/files/run/bug4119/S.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/bug4119/S.scala b/test/files/run/bug4119/S.scala
new file mode 100644
index 0000000000..d6ae5f1b87
--- /dev/null
+++ b/test/files/run/bug4119/S.scala
@@ -0,0 +1,14 @@
+class S extends foo.bar.J {
+ sss =>
+
+ val fn = () => {
+ foo(S.this)
+ }
+ fn()
+}
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ new S
+ }
+}