diff options
author | Martin Odersky <odersky@gmail.com> | 2014-05-16 14:25:39 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-05-30 14:38:31 +0200 |
commit | 315c097d3a72077512fa06d7c26e8ad09a8b3f66 (patch) | |
tree | be8502f05c4bb84580ba2e72e39b16b2fb029918 /tests/pos/t2939.scala | |
parent | 996f47d48c3c10c51da58558643ec02844e45687 (diff) | |
download | dotty-315c097d3a72077512fa06d7c26e8ad09a8b3f66.tar.gz dotty-315c097d3a72077512fa06d7c26e8ad09a8b3f66.tar.bz2 dotty-315c097d3a72077512fa06d7c26e8ad09a8b3f66.zip |
Triage of tests t27xx-t29xx.
Diffstat (limited to 'tests/pos/t2939.scala')
-rw-r--r-- | tests/pos/t2939.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pos/t2939.scala b/tests/pos/t2939.scala new file mode 100644 index 000000000..57dd52024 --- /dev/null +++ b/tests/pos/t2939.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]() } +} |