diff options
Diffstat (limited to 'tests/pos/t1858.scala')
-rw-r--r-- | tests/pos/t1858.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pos/t1858.scala b/tests/pos/t1858.scala new file mode 100644 index 000000000..c06e73e7e --- /dev/null +++ b/tests/pos/t1858.scala @@ -0,0 +1,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) + } + +} |