summaryrefslogblamecommitdiff
path: root/test/pending/run/mixins.scala
blob: c7926c9c53af67f4a688c5769655d957fe50b546 (plain) (tree)
1
2
3
4
5
6





                                                  
trait A { val x: Int }
trait B extends A { override val x = 1 } // with A
trait C extends A { override val x = 2 } // with A
object Test extends B with C with Application {
  println(x)
}