aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-07-18 20:59:24 +0200
committerGitHub <noreply@github.com>2016-07-18 20:59:24 +0200
commit5d6c1020e0dd24c10e2a5827f5b7a89bfa925e09 (patch)
tree48a06dca312131ab3b1f56be3d1f948e537ef682 /tests
parent61aa3d9efb31182d83f4b5f6bb7f5788da5b111c (diff)
parent5c4496a2fc710d5f969fe9891b92e22ecec34057 (diff)
downloaddotty-5d6c1020e0dd24c10e2a5827f5b7a89bfa925e09.tar.gz
dotty-5d6c1020e0dd24c10e2a5827f5b7a89bfa925e09.tar.bz2
dotty-5d6c1020e0dd24c10e2a5827f5b7a89bfa925e09.zip
Merge pull request #1393 from dotty-staging/fix-#1386
Fix #1386: Reduce double def errors
Diffstat (limited to 'tests')
-rw-r--r--tests/run/i1386.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run/i1386.scala b/tests/run/i1386.scala
new file mode 100644
index 000000000..e5f4332d2
--- /dev/null
+++ b/tests/run/i1386.scala
@@ -0,0 +1,4 @@
+object Test {
+ def main(args: Array[String]) =
+ assert(new java.util.HashMap[Int, Int]().size == 0)
+}