aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3404
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t3404')
-rw-r--r--tests/untried/pos/t3404/Base.java3
-rw-r--r--tests/untried/pos/t3404/Derived.scala3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/t3404/Base.java b/tests/untried/pos/t3404/Base.java
new file mode 100644
index 000000000..c5df18cc9
--- /dev/null
+++ b/tests/untried/pos/t3404/Base.java
@@ -0,0 +1,3 @@
+abstract class Base {
+ abstract Class foo(Object o);
+} \ No newline at end of file
diff --git a/tests/untried/pos/t3404/Derived.scala b/tests/untried/pos/t3404/Derived.scala
new file mode 100644
index 000000000..b1a6c6b19
--- /dev/null
+++ b/tests/untried/pos/t3404/Derived.scala
@@ -0,0 +1,3 @@
+class Derived extends Base {
+ def foo(a: AnyRef) = classOf[String]
+}