summaryrefslogtreecommitdiff
path: root/test/files/pos/t0165.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t0165.scala')
-rwxr-xr-xtest/files/pos/t0165.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t0165.scala b/test/files/pos/t0165.scala
new file mode 100755
index 0000000000..05c4a1c77a
--- /dev/null
+++ b/test/files/pos/t0165.scala
@@ -0,0 +1,14 @@
+package test3
+import scala.collection.jcl.LinkedHashMap
+
+trait Main {
+ def asMany : ArrayResult = {
+ object result extends LinkedHashMap[String,String] with ArrayResult {
+ def current = result
+ }
+ result
+ }
+ trait ArrayResult {
+ def current : scala.collection.Map[String,String]
+ }
+}