summaryrefslogtreecommitdiff
path: root/test/files/pos/t1782
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1782')
-rw-r--r--test/files/pos/t1782/ImplementedBy.java3
-rw-r--r--test/files/pos/t1782/Test_1.scala10
2 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t1782/ImplementedBy.java b/test/files/pos/t1782/ImplementedBy.java
new file mode 100644
index 0000000000..6aa8b4fa9e
--- /dev/null
+++ b/test/files/pos/t1782/ImplementedBy.java
@@ -0,0 +1,3 @@
+public @interface ImplementedBy {
+ public Class<?> value();
+}
diff --git a/test/files/pos/t1782/Test_1.scala b/test/files/pos/t1782/Test_1.scala
new file mode 100644
index 0000000000..de4f0e9886
--- /dev/null
+++ b/test/files/pos/t1782/Test_1.scala
@@ -0,0 +1,10 @@
+@ImplementedBy(classOf[Provider])
+trait Service {
+ def someMethod()
+}
+
+class Provider
+ extends Service
+{
+ def someMethod() = ()
+}