diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/bug1858.scala | 13 |
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) + } + +} |