summaryrefslogtreecommitdiff
path: root/test/files/pos/t4202.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-03-21 13:37:53 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-03-21 13:37:53 +0000
commit0b0a927a607f8884651168c2361c2d91ebcd04b0 (patch)
treea7ab9ebd0c8a75634c11c285f6fb6ad3b0875e58 /test/files/pos/t4202.scala
parentb5d314af8ee4dcab49300ebdadc399298196f233 (diff)
downloadscala-0b0a927a607f8884651168c2361c2d91ebcd04b0.tar.gz
scala-0b0a927a607f8884651168c2361c2d91ebcd04b0.tar.bz2
scala-0b0a927a607f8884651168c2361c2d91ebcd04b0.zip
Closes #4202 again, closes #4363.
Diffstat (limited to 'test/files/pos/t4202.scala')
-rw-r--r--test/files/pos/t4202.scala13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/files/pos/t4202.scala b/test/files/pos/t4202.scala
index dbedd0bf79..b2a0c0120a 100644
--- a/test/files/pos/t4202.scala
+++ b/test/files/pos/t4202.scala
@@ -1,7 +1,18 @@
-object t4202 {
+object t4202_1 {
() => {
trait T {
def t = ()
}
}
}
+
+object t4202_2 {
+ () => {
+ trait T {
+ def t = ()
+ }
+ object T2 extends T {
+ t
+ }
+ }
+}