summaryrefslogtreecommitdiff
path: root/test/files/run/t5655.scala
diff options
context:
space:
mode:
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
+ """
+}