summaryrefslogtreecommitdiff
path: root/test/files/neg/t6357.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-14 12:22:22 -0800
committerPaul Phillips <paulp@improving.org>2012-11-14 12:28:17 -0800
commit823d77947e7f6502905cfbafee396fad0a908ede (patch)
treeda3704bcf072038f14203e7daeaceb5193870eed /test/files/neg/t6357.scala
parented6520b4fa002ea143cead5eb3633839d500e08d (diff)
downloadscala-823d77947e7f6502905cfbafee396fad0a908ede.tar.gz
scala-823d77947e7f6502905cfbafee396fad0a908ede.tar.bz2
scala-823d77947e7f6502905cfbafee396fad0a908ede.zip
Fix for SI-6357, cycle with value classes.
Don't force the owner info.
Diffstat (limited to 'test/files/neg/t6357.scala')
-rw-r--r--test/files/neg/t6357.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t6357.scala b/test/files/neg/t6357.scala
new file mode 100644
index 0000000000..47f5629638
--- /dev/null
+++ b/test/files/neg/t6357.scala
@@ -0,0 +1,6 @@
+object K {
+ def q = {
+ final class Y(val j: Int) extends AnyVal
+ 3
+ }
+}