summaryrefslogtreecommitdiff
path: root/test/files/pos/t4202.scala
blob: aca7d503eea23ee41c76862f5ca4e56472468bf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
object t4202_1 {
  () => {
    trait T {
      def t = ()
    } 
  }
}

object t4202_2 {
  () => {
    trait T {
      def t = ()
    }
    object T2 extends T {
      t
    }
  }
}