aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t2296a.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t2296a.check')
-rw-r--r--tests/untried/neg/t2296a.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t2296a.check b/tests/untried/neg/t2296a.check
new file mode 100644
index 000000000..863b86104
--- /dev/null
+++ b/tests/untried/neg/t2296a.check
@@ -0,0 +1,5 @@
+S.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 as a workaround.
+ foo()
+ ^
+one error found