summaryrefslogtreecommitdiff
path: root/test/files/pos/t1858.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1858.scala')
-rw-r--r--test/files/pos/t1858.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t1858.scala b/test/files/pos/t1858.scala
new file mode 100644
index 0000000000..c06e73e7e6
--- /dev/null
+++ b/test/files/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)
+ }
+
+}