summaryrefslogtreecommitdiff
path: root/test/files/run/xml-loop-bug.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/xml-loop-bug.scala')
-rw-r--r--test/files/run/xml-loop-bug.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/xml-loop-bug.scala b/test/files/run/xml-loop-bug.scala
index acb3c5c6da..3894779f7c 100644
--- a/test/files/run/xml-loop-bug.scala
+++ b/test/files/run/xml-loop-bug.scala
@@ -1,5 +1,6 @@
object Test {
def main(args: Array[String]): Unit = {
+ scala.tools.nsc.io.NullPrintStream.setOutAndErr()
scala.xml.parsing.ConstructingParser.fromSource(scala.io.Source.fromString("<!DOCTYPE xmeml SYSTEM> <xmeml> <sequence> </sequence> </xmeml> "), true).document.docElem
}
}