diff options
author | Paul Phillips <paulp@improving.org> | 2011-05-05 19:04:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-05-05 19:04:05 +0000 |
commit | facc1b33fa5df37e4033d06b51670d4c364c1699 (patch) | |
tree | 0b64ac5b432700bb2596a1cfbaa88ec6e7b02efe /test/files/neg/bug4537 | |
parent | c937fd95700bef739f012e2a11b84bc848f200be (diff) | |
download | scala-facc1b33fa5df37e4033d06b51670d4c364c1699.tar.gz scala-facc1b33fa5df37e4033d06b51670d4c364c1699.tar.bz2 scala-facc1b33fa5df37e4033d06b51670d4c364c1699.zip |
A better test case for #4537 than the one r2488...
A better test case for #4537 than the one r24881 didn't include, no
review.
Diffstat (limited to 'test/files/neg/bug4537')
-rw-r--r-- | test/files/neg/bug4537/a.scala | 5 | ||||
-rw-r--r-- | test/files/neg/bug4537/b.scala | 5 | ||||
-rw-r--r-- | test/files/neg/bug4537/c.scala | 8 |
3 files changed, 18 insertions, 0 deletions
diff --git a/test/files/neg/bug4537/a.scala b/test/files/neg/bug4537/a.scala new file mode 100644 index 0000000000..65e183c5f8 --- /dev/null +++ b/test/files/neg/bug4537/a.scala @@ -0,0 +1,5 @@ +package a + +private[a] object Settings { + val X = 0 +}
\ No newline at end of file diff --git a/test/files/neg/bug4537/b.scala b/test/files/neg/bug4537/b.scala new file mode 100644 index 0000000000..bb9dd4e15a --- /dev/null +++ b/test/files/neg/bug4537/b.scala @@ -0,0 +1,5 @@ +package b + +object Settings { + val Y = 0 +}
\ No newline at end of file diff --git a/test/files/neg/bug4537/c.scala b/test/files/neg/bug4537/c.scala new file mode 100644 index 0000000000..379599112d --- /dev/null +++ b/test/files/neg/bug4537/c.scala @@ -0,0 +1,8 @@ +package b +package c + +import a._ + +object Test { + println(Settings.Y) +}
\ No newline at end of file |