summaryrefslogtreecommitdiff
path: root/test/files/run/t4398.scala
blob: 1d57eb688dc1b22c213fd2a9ebbb736fee030f70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object Test {
  def main(args: Array[String]) {
    val x = 1 to 10 toSet
    val y = x + 5
    val z = y - 154321
    assert(x eq y)
    assert(x eq z)
  }
}