aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7605-deprecation.scala
blob: 30cd21bd69bfe9a10ea3c1f339fa79bbe6aef60a (plain) (blame)
1
2
3
4
5
6
7
8
abstract class Foo {
  def bar: Unit = {}
  def baz
  def boo(i: Int, l: Long)
  def boz(i: Int, l: Long): Unit = {}
  def this(i: Int) { this() } // Don't complain here!
  def foz: Unit               // Don't complain here!
}