aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t5617.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t5617.check')
-rw-r--r--tests/untried/neg/t5617.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/t5617.check b/tests/untried/neg/t5617.check
new file mode 100644
index 000000000..79cc3a1e3
--- /dev/null
+++ b/tests/untried/neg/t5617.check
@@ -0,0 +1,8 @@
+t5617.scala:12: error: method foo overrides nothing.
+Note: the super classes of trait C contain the following, non final members named foo:
+def foo(u: Unit): Int
+def foo(x: Boolean): Int
+def foo(i: Int)(b: String): Int
+ override def foo(s: String): Int
+ ^
+one error found