aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t6644.scala
blob: 5a9850290891f8c17d80db0fd5864d360c46069f (plain) (blame)
1
2
3
4
5
6
7
8
class Testable(val c: String) extends AnyVal {
  def matching(cases: Boolean*) = cases contains true
}

object Test extends dotty.runtime.LegacyApp {
  assert(new Testable("").matching(true, false))
}