summaryrefslogtreecommitdiff
path: root/test/files/pos/bug115.scala
blob: 7e83038c7ca56f9f6b0d9ac5b4f502d60dd67c62 (plain) (blame)
1
2
3
4
5
6
7
8
class S[A](f: A => A, x: A) {
  System.out.println(f(x));
}
class T[A](f: A => A, y: A) extends S(x: A => f(x), y) {
}
object Test with Executable {
  new T[int](x: int => x * 2, 1);
}