summaryrefslogtreecommitdiff
path: root/test/files/run/io-position.scala
blob: 7e570ea29e274046e684a86f21171ddf7b1bc07c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
object Test {
  Console.setErr(Console.out)

  def main(args: Array[String]): Unit = {
    try {
      xml.parsing.ConstructingParser.fromSource(io.Source.fromString("<foo>"), false).document()
    } catch {
      case e:Exception => println(e.getMessage)
    }
  }

}