summaryrefslogtreecommitdiff
path: root/test/files/run/t0663.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t0663.scala')
-rw-r--r--test/files/run/t0663.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t0663.scala b/test/files/run/t0663.scala
new file mode 100644
index 0000000000..16a5a48330
--- /dev/null
+++ b/test/files/run/t0663.scala
@@ -0,0 +1,6 @@
+object Test extends Application {
+ val src = scala.io.Source.fromString("<?xml version='1.0' encoding='UTF-8'?><feed/>")
+ val parser = xml.parsing.ConstructingParser.fromSource(src, true)
+ println(parser.document)
+}
+