aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/raw-types-stubs.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/raw-types-stubs.check')
-rw-r--r--tests/untried/neg/raw-types-stubs.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/neg/raw-types-stubs.check b/tests/untried/neg/raw-types-stubs.check
new file mode 100644
index 000000000..f1b26a23b
--- /dev/null
+++ b/tests/untried/neg/raw-types-stubs.check
@@ -0,0 +1,11 @@
+S_3.scala:1: error: class Sub needs to be abstract, since:
+it has 2 unimplemented members.
+/** As seen from class Sub, the missing signatures are as follows.
+ * For convenience, these are usable as stub implementations.
+ */
+ def raw(x$1: M_1[_ <: String]): Unit = ???
+ def raw(x$1: Any): Unit = ???
+
+class Sub extends Raw_2 { }
+ ^
+one error found