aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t3832.scala
blob: bc84dca227c157337981980e995e4e9666e43034 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                           
                                             


                 
class t3832 {
  def this(un: Int) = {
    this()
    def bippy = this
    ()
  }
  def this(un: Boolean) = {
    this()
    def boppy = () => this
    ()
  }
}

object Test extends dotty.runtime.LegacyApp {
  new t3832(0)
  new t3832(true)
}