summaryrefslogblamecommitdiff
path: root/test/files/pos/t1107b/O.scala
blob: 0198867704bd766a7b9fed34b0d9bf7b2a093466 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                           
 



                                         
   
 
object O
{
  def d(t: Top) = t match {
    case s: Sub => true
    case _ => false
  }

  def main(args: Array[String]): Unit = {
    val c = new AnyRef with C

    c.bob.toString + c.bob2.toString
  }
}