blob: 56950e62bbb5c2ef05e0c3d39203cf338c5ce10a (
plain) (
tree)
|
|
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())
}
}
|