summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2009-04-07 14:27:25 +0000
committerIulian Dragos <jaguarul@gmail.com>2009-04-07 14:27:25 +0000
commitb17f6f68da05876ebb4172d3c54cb7680bd6f9e7 (patch)
tree04222163594cd43b0b8e5026767e1bc5f5563d29 /test/files
parent7cc03e888bb28cc5d42532d575352b731abdebe2 (diff)
downloadscala-b17f6f68da05876ebb4172d3c54cb7680bd6f9e7.tar.gz
scala-b17f6f68da05876ebb4172d3c54cb7680bd6f9e7.tar.bz2
scala-b17f6f68da05876ebb4172d3c54cb7680bd6f9e7.zip
Forgot test
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/bug1858.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/bug1858.scala b/test/files/pos/bug1858.scala
new file mode 100644
index 0000000000..c06e73e7e6
--- /dev/null
+++ b/test/files/pos/bug1858.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)
+ }
+
+}