// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
trait P1 {
  def m1(): Unit = println("P1.m1")
}

trait P2 {
  def m2(): Unit = println("P2.m2")
}

class C extends Object with P1 with P2 {
}

object MI {
  def main(args: Array[String]): Unit = {
    val o = new C()
    o.m1()
    o.m2()
  }
}
