diff options
Diffstat (limited to 'test/files/run/io-position.scala')
-rw-r--r-- | test/files/run/io-position.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/io-position.scala b/test/files/run/io-position.scala new file mode 100644 index 0000000000..7e570ea29e --- /dev/null +++ b/test/files/run/io-position.scala @@ -0,0 +1,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) + } + } + +} + |