summaryrefslogtreecommitdiff
path: root/test/files/run/t1829.scala
blob: 8240527424a6d1033b8a04053901345c350e8830 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
object Test{
  def main(args : Array[String]){
    import scala.collection.immutable._
    assert(IntMap.empty == HashMap.empty);
    assert(HashMap.empty == IntMap.empty);
    assert(LongMap.empty == HashMap.empty);
    assert(HashMap.empty == LongMap.empty);
    assert(IntMap.empty == LongMap.empty);
    assert(IntMap(1 -> 2) == HashMap(1 -> 2));
    assert(LongMap(1L -> 2) == HashMap(1L -> 2));
  }
}