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