summaryrefslogtreecommitdiff
path: root/test/files/run/io-position.scala
blob: 1093704fa4feb1e09d076e03d671e53a96483181 (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)
    }
  } 

}