summaryrefslogtreecommitdiff
path: root/test/files/neg/migration28.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/migration28.scala')
-rw-r--r--test/files/neg/migration28.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/migration28.scala b/test/files/neg/migration28.scala
new file mode 100644
index 0000000000..090b32d690
--- /dev/null
+++ b/test/files/neg/migration28.scala
@@ -0,0 +1,12 @@
+object Test {
+ import scala.collection.mutable._
+
+ val s = new Stack[Int]
+ s ++= List(1,2,3)
+ s map (_ + 1)
+ s foreach (_ => ())
+
+ def main(args: Array[String]): Unit = {
+
+ }
+}