summaryrefslogtreecommitdiff
path: root/test/files/run/t5655.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-03 11:21:31 -0700
committerPaul Phillips <paulp@improving.org>2012-05-03 11:21:31 -0700
commit03e3a40951ec7d1612cb668973f4d2e5e01872e9 (patch)
tree28ddde70dc3aa6489e11b4712f8eb2f86702cdc8 /test/files/run/t5655.scala
parent0cb886ae44505334dd5e8408b9355a53bc00e578 (diff)
downloadscala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.tar.gz
scala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.tar.bz2
scala-03e3a40951ec7d1612cb668973f4d2e5e01872e9.zip
Test case closes SI-5655.
Still some issues with the repl namespace, which should be managed in a first class way, not defensively/reactively.
Diffstat (limited to 'test/files/run/t5655.scala')
-rw-r--r--test/files/run/t5655.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t5655.scala b/test/files/run/t5655.scala
new file mode 100644
index 0000000000..b15feb788e
--- /dev/null
+++ b/test/files/run/t5655.scala
@@ -0,0 +1,10 @@
+import scala.tools.partest.ReplTest
+
+object Test extends ReplTest {
+ def code = """
+object x { def x={} }
+import x._
+x
+x
+ """
+}