blob: bc0083ee20ba609ea13c6d08a91dd76b5b2ac4c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.collection.immutable.::
class C[T](x: T)
object A {
def main(args: Array[String]): Unit = {
val x = new C("A")
val y = new ::(args, Nil)
val z = ::(args, Nil)
println(y)
println(z)
}
}
|