summaryrefslogtreecommitdiff
path: root/test/files/pos/t2939.scala
blob: 67677f2f18eeab83536d73cf5879765812dbe0a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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]() }
}