aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t4601.scala
blob: 300da58b276d928e6c959e714882beacf0a6afb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class A

trait B {
  self: A =>

  def test: Unit = {
    println('blubber)
  }
}

object Test extends A with B {
  def main(args: Array[String]): Unit = {
    test
  }
}