aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t5648.scala
blob: c5cea9e1cbb9866b157e10e8b0d1a12b0625e2e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
case class C(val s: Int*)

object Test {
  def main(args: Array[String]): Unit = {
    println(new C(1, 3, 7) == new C(1, 3, 7))
    println(new C(1, 3, 7) == C(1, 3, 7))
    println(C(1, 3, 7) == new C(1, 3, 7))
    println(C(1, 3, 7) == C(1, 3, 7))
  }
}