summaryrefslogtreecommitdiff
path: root/test/files/run/breakout.scala
blob: 01ea08846e2f1de00b07254e72b4344963d01479 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.collection.generic._
import scala.collection._
import scala.collection.mutable._

object Test extends Application {
	val l = List(1, 2, 3)
	val a: Array[Int] =  l.map(_ + 1)(breakOut)
	println(a.mkString(", "))
}