aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/spec-vector.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/spec-vector.scala')
-rw-r--r--tests/untried/pos/spec-vector.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/pos/spec-vector.scala b/tests/untried/pos/spec-vector.scala
new file mode 100644
index 000000000..392949c66
--- /dev/null
+++ b/tests/untried/pos/spec-vector.scala
@@ -0,0 +1,4 @@
+// ticket #3379, abstract overrides
+trait Vector extends (Int=>Double) {
+ override def apply(i: Int): Double
+}