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.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/files/run/xml-loop-bug.scala b/test/files/run/xml-loop-bug.scala
deleted file mode 100644
index dc155dbb02..0000000000
--- a/test/files/run/xml-loop-bug.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-import java.io.{ Console => _, _ }
-import scala.io._
-import scala.xml.parsing._
-object Test {
- def main(args: Array[String]): Unit = {
- val xml = "<!DOCTYPE xmeml SYSTEM> <xmeml> <sequence> </sequence> </xmeml> "
- val sink = new PrintStream(new ByteArrayOutputStream())
- (Console withOut sink) {
- (Console withErr sink) {
- ConstructingParser.fromSource((Source fromString xml), true).document.docElem
- }
- }
- }
-}