summaryrefslogtreecommitdiff
path: root/test/files/run/t3575.scala
blob: 56950e62bbb5c2ef05e0c3d39203cf338c5ce10a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
case class Two[@specialized A, @specialized B](v: A, w: B);

// This is here to tell me if the behavior changes, not because
// the output is endorsed.
object Test {
  def main(args: Array[String]): Unit = {
    println(Two("Hello", 12).getClass().getName())
    println(Two(12, "Hello").getClass().getName())
    println(Two("Hello", "World").getClass().getName())
    println(Two(12, 12).getClass().getName())
  }
}