diff options
Diffstat (limited to 'tests/untried/neg/t0117.check')
-rw-r--r-- | tests/untried/neg/t0117.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t0117.check b/tests/untried/neg/t0117.check new file mode 100644 index 000000000..579cf883a --- /dev/null +++ b/tests/untried/neg/t0117.check @@ -0,0 +1,4 @@ +t0117.scala:2: error: Implementation restriction: traits may not select fields or methods from super[C] where C is a class +trait B extends A { println(super[A].a) } + ^ +one error found |