blob: 81730f82bef44f2a8936406d3e77ca751215eb06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// tests printing functionality
class C[X](x: Int, val y: String) {
}
object test extends C[String](1, "") {
new C[Int](1, "") {}
def foo(x: C[Int]) = new C[String](1, "") {}
}
|