summaryrefslogblamecommitdiff
path: root/test/files/run/t3269.scala
blob: 6fe727111cd6478af3815f1ae9712986bd564d7e (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                     
               

   
object Test {
  def main(args: Array[String]): Unit = {
    val it = List(1).iterator ++ { println("Hello"); Iterator.empty }
    println(it.next)
    it.hasNext
    it.hasNext
    it.hasNext 
  }
}