summaryrefslogtreecommitdiff
path: root/test/files/run/t1909.scala
blob: 8ead7bacf23264668db83d64c3a252d1eabcb607 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Until #1909 is fixed, if this compiles the bytecode
// will trigger a VerifyError.  This liftings and the one
// in 1909b.scala actually happen in two different places
// (uncurry and lambdalifter.)
class Ticket1909 {
  def this(value: Int) = this()
  def this(p: String) = this(try 0)
}

object Test extends App {
  new Ticket1909("")
}