summaryrefslogtreecommitdiff
path: root/test/files/run/io-position.scala
blob: b227846fb450495f35b4e38a067dbb8387a70091 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object Test {
  def main(args: Array[String]): Unit = Console.withErr(Console.out) { 
    try {
      xml.parsing.ConstructingParser.fromSource(io.Source.fromString("<foo>"), false).document()
    } catch {
      case e:Exception => println(e.getMessage)
    }
  } 

}