aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t2208_pos.scala
blob: dd6d686baf46db1028647fed9c726be75726b6e4 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                   
object Test  {
	class A

	class B[X]
	type Alias[X <: A] = B[X]

	val foo: B[A] = new Alias[A] // check that type aliases can be instantiated
}