aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t4460b.scala
blob: d347d5c53c136d29a78ee18e70d4fae4d3bdbc84 (plain) (blame)
1
2
3
4
5
6
7
8
9
trait A

class Outer() {
    class B(val x: Int) {
      self: A =>

      def this() = this() // was binding to Predef.<init> !!
    }
}