summaryrefslogtreecommitdiff
path: root/test/files/run/bug4710.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-02 00:18:57 +0000
committerPaul Phillips <paulp@improving.org>2011-07-02 00:18:57 +0000
commitf346e54d24847e0529ce1e5ee43e47a038a4961e (patch)
tree7c8ab24d02900eabba77d133a44959a8c764dfad /test/files/run/bug4710.scala
parent56917143ae6da7a8da532c8b0a45d64b04f6986b (diff)
downloadscala-f346e54d24847e0529ce1e5ee43e47a038a4961e.tar.gz
scala-f346e54d24847e0529ce1e5ee43e47a038a4961e.tar.bz2
scala-f346e54d24847e0529ce1e5ee43e47a038a4961e.zip
Wholesale backport of scala/tools/nsc/interpret...
Wholesale backport of scala/tools/nsc/interpreter with small adjustments to compile against 2.9.0-1. This commit passes all the tests and is mima-verified binary compatible.
Diffstat (limited to 'test/files/run/bug4710.scala')
-rw-r--r--test/files/run/bug4710.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/bug4710.scala b/test/files/run/bug4710.scala
new file mode 100644
index 0000000000..5e5b1e86b5
--- /dev/null
+++ b/test/files/run/bug4710.scala
@@ -0,0 +1,6 @@
+import scala.tools.partest.ReplTest
+
+object Test extends ReplTest {
+ def code = """def method : String = { implicit def f(s: Symbol) = "" ; 'symbol }"""
+}
+