diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/xml-loop-bug.check | bin | 0 -> 280 bytes | |||
-rw-r--r-- | test/files/run/xml-loop-bug.scala | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/xml-loop-bug.check b/test/files/run/xml-loop-bug.check Binary files differnew file mode 100644 index 0000000000..a31b93d0cf --- /dev/null +++ b/test/files/run/xml-loop-bug.check diff --git a/test/files/run/xml-loop-bug.scala b/test/files/run/xml-loop-bug.scala new file mode 100644 index 0000000000..acb3c5c6da --- /dev/null +++ b/test/files/run/xml-loop-bug.scala @@ -0,0 +1,5 @@ +object Test { + def main(args: Array[String]): Unit = { + scala.xml.parsing.ConstructingParser.fromSource(scala.io.Source.fromString("<!DOCTYPE xmeml SYSTEM> <xmeml> <sequence> </sequence> </xmeml> "), true).document.docElem + } +} |