aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1858.scala
blob: c06e73e7e61e6a76834b354a77547cea0b164707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.collection.immutable.Stack

object Test {

  def test = {
    val s = new Stack[Int]
    s.push(1)
    s.push(1, 2)
    s.push(1, 2, 3)
    s.push(1, 2, 3, 4)
  }

}