diff options
Diffstat (limited to 'tests/untried/pos/t7834.scala')
-rw-r--r-- | tests/untried/pos/t7834.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/t7834.scala b/tests/untried/pos/t7834.scala new file mode 100644 index 000000000..fc9a0aa09 --- /dev/null +++ b/tests/untried/pos/t7834.scala @@ -0,0 +1,6 @@ +class S { val q = "" } + +class B extends S { + val x1: B.super.q.type = q + val x2: B.this.q.type = q +} |