diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-26 14:14:12 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-26 14:14:12 +0000 |
commit | e239d7fa5b9de5edffb06022c4cc5a9c105a51d3 (patch) | |
tree | 5aac86ae523db164174e39c900a5d2c5ad094075 /test/files/pos/bug2939.scala | |
parent | c932ec58f9e6fc90c9497bb4cbfb09f2b398e7ea (diff) | |
download | scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.tar.gz scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.tar.bz2 scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.zip |
svnmerge + tags
Diffstat (limited to 'test/files/pos/bug2939.scala')
-rw-r--r-- | test/files/pos/bug2939.scala | 13 |
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 |