summaryrefslogtreecommitdiff
path: root/test/files/run/t6644.scala
blob: b8b36f957c43220c3c50e38849d2b677b24a9378 (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 App {
  assert(new Testable("").matching(true, false))
}