summaryrefslogtreecommitdiff
path: root/test/files/pos/bug2939.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-05-24 22:25:31 +0000
committerPaul Phillips <paulp@improving.org>2010-05-24 22:25:31 +0000
commita3c413084cccde5c7a3dec510971f9ef8fbf628f (patch)
treeda6fbb5fbffb0842f3ee092abf2f94ccf55ed18a /test/files/pos/bug2939.scala
parent67a650205b9f18f58063883dc6150009f8bdaae3 (diff)
downloadscala-a3c413084cccde5c7a3dec510971f9ef8fbf628f.tar.gz
scala-a3c413084cccde5c7a3dec510971f9ef8fbf628f.tar.bz2
scala-a3c413084cccde5c7a3dec510971f9ef8fbf628f.zip
Brought the *Proxy classes more up to date.
Diffstat (limited to 'test/files/pos/bug2939.scala')
-rw-r--r--test/files/pos/bug2939.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/bug2939.scala b/test/files/pos/bug2939.scala
new file mode 100644
index 0000000000..3be4d4d561
--- /dev/null
+++ b/test/files/pos/bug2939.scala
@@ -0,0 +1,13 @@
+import collection._
+
+object Proxies {
+ class C1 extends MapProxy[Int,Int] { def self = Map[Int,Int]() }
+ class C2 extends mutable.MapProxy[Int,Int] { def self = mutable.Map[Int,Int]() }
+ class C3 extends immutable.MapProxy[Int,Int] { def self = immutable.Map[Int,Int]() }
+
+ class C4 extends SetProxy[Int] { def self = Set[Int]() }
+ class C5 extends mutable.SetProxy[Int] { def self = mutable.Set[Int]() }
+ class C6 extends immutable.SetProxy[Int] { def self = immutable.Set[Int]() }
+
+ class C7 extends SeqProxy[Int] { def self = Seq[Int]() }
+} \ No newline at end of file