summaryrefslogtreecommitdiff
path: root/test/files/neg/t2296b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2296b.check')
-rw-r--r--test/files/neg/t2296b.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t2296b.check b/test/files/neg/t2296b.check
new file mode 100644
index 0000000000..07cc54d573
--- /dev/null
+++ b/test/files/neg/t2296b.check
@@ -0,0 +1,5 @@
+S_2.scala:6: error: Implementation restriction: trait S accesses protected method foo inside a concrete trait method.
+Add an accessor in a class extending class J_1 as a workaround.
+ foo()
+ ^
+one error found