diff options
Diffstat (limited to 'tests/untried/pos/t415.scala')
-rw-r--r-- | tests/untried/pos/t415.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t415.scala b/tests/untried/pos/t415.scala new file mode 100644 index 000000000..355b6136d --- /dev/null +++ b/tests/untried/pos/t415.scala @@ -0,0 +1,9 @@ +abstract class A { + type T <: String; + def x: T; +} + +abstract class B { + def a: A; + val y: String = a.x; +} |