summaryrefslogtreecommitdiff
path: root/test/files/pos/collections.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-09-08 10:53:27 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-09-08 10:53:27 +0000
commit2619f09ad0a5fc8900fcacc4d704a55b255f52e7 (patch)
tree278c062ba1f731fa47d63a5c02d29182aff57438 /test/files/pos/collections.scala
parent97fd4b036ca3071196301794903e1fd37b62f923 (diff)
downloadscala-2619f09ad0a5fc8900fcacc4d704a55b255f52e7.tar.gz
scala-2619f09ad0a5fc8900fcacc4d704a55b255f52e7.tar.bz2
scala-2619f09ad0a5fc8900fcacc4d704a55b255f52e7.zip
Reenabled two tests.
Diffstat (limited to 'test/files/pos/collections.scala')
-rw-r--r--test/files/pos/collections.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/pos/collections.scala b/test/files/pos/collections.scala
new file mode 100644
index 0000000000..61a25528c7
--- /dev/null
+++ b/test/files/pos/collections.scala
@@ -0,0 +1,15 @@
+package mixins;
+
+import scala.collection.mutable._;
+
+class Collections extends HashSet[Int] with ObservableSet[Int,Collections] {
+ override def +=(elem: Int): this.type = super.+=(elem);
+ override def -=(elem: Int): this.type = super.-=(elem);
+ override def clear: Unit = super.clear;
+
+}
+
+object collections extends Collections;
+
+//class Collections1 extends HashSet[Int] with ObservableSet[Int,Collections1];
+//object collections1 extends Collections1;