diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-24 17:11:55 +0000 |
commit | b9785280a7138a2bb52060faf94807aa0d07dec1 (patch) | |
tree | 870cc1930ac3d50cd07078260f58984224dd39a5 /test/files/run/t4119 | |
parent | 84fcf633d9ca507124806d64729cb8463bcebb69 (diff) | |
download | scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.gz scala-b9785280a7138a2bb52060faf94807aa0d07dec1.tar.bz2 scala-b9785280a7138a2bb52060faf94807aa0d07dec1.zip |
Renamed tests named bugXXX to tXXX, no review.
Diffstat (limited to 'test/files/run/t4119')
-rw-r--r-- | test/files/run/t4119/J.java | 7 | ||||
-rw-r--r-- | test/files/run/t4119/S.scala | 14 |
2 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/t4119/J.java b/test/files/run/t4119/J.java new file mode 100644 index 0000000000..ee65d33e22 --- /dev/null +++ b/test/files/run/t4119/J.java @@ -0,0 +1,7 @@ +package foo.bar; + +public abstract class J { + protected void foo(J j) { + return; + } +} diff --git a/test/files/run/t4119/S.scala b/test/files/run/t4119/S.scala new file mode 100644 index 0000000000..d6ae5f1b87 --- /dev/null +++ b/test/files/run/t4119/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 + } +} |