diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/bug3881.check | 1 | ||||
-rw-r--r-- | test/files/run/bug3881.scala | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/test/files/run/bug3881.check b/test/files/run/bug3881.check deleted file mode 100644 index 888acde74f..0000000000 --- a/test/files/run/bug3881.check +++ /dev/null @@ -1 +0,0 @@ -1000000 xml events diff --git a/test/files/run/bug3881.scala b/test/files/run/bug3881.scala deleted file mode 100644 index 21247492f5..0000000000 --- a/test/files/run/bug3881.scala +++ /dev/null @@ -1,27 +0,0 @@ -object Test { - - def forever() = new io.Source { - val iter = "<foo>".iterator ++ new Iterator[Char] { - var count = -1 - val bar = "<bar/>\n" - def hasNext = true - def next() = { - count += 1 - bar(count % bar.length) - } - } - } - - def main(args: Array[String]): Unit = { - val src = forever() - val reader = new xml.pull.XMLEventReader(src) - var count = 0 - while (reader.hasNext && count < 1000000) { - reader.next - count += 1 - } - reader.stop - println(count + " xml events") - } -} - |