aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t6614.scala
blob: b3044c9f0d8024e49488ffd78bf0efe01f984b19 (plain) (blame)
1
2
3
4
5
6
7
8
object Test extends dotty.runtime.LegacyApp {
	import scala.collection.mutable.ArrayStack

	println((for (i <- 0 to 10) yield {
		val in = ArrayStack.tabulate(i)(_.toString)
		(in, (in filter (_ => true)) == in)
	}).mkString("\n"))
}