diff options
Diffstat (limited to 'test/files/jvm/xmlRef.scala')
-rw-r--r-- | test/files/jvm/xmlRef.scala | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/files/jvm/xmlRef.scala b/test/files/jvm/xmlRef.scala new file mode 100644 index 0000000000..47bc5dd6dd --- /dev/null +++ b/test/files/jvm/xmlRef.scala @@ -0,0 +1,23 @@ +//############################################################################ +// XML Parsing +//############################################################################ +// $Id$ + +import scala.testing.UnitTest._ ; + +import scala.xml._ ; + +/** this file test just succesful run of the parser. There are no checks whether + * the encoding to Scala expressions is done correctly + */ +object Test with Application { + + val x1s = <foo>{</foo>.toString(); + + Console.println( x1s ); + + val x2 = <foo> {<bar><baz/></bar><bar/></foo>.toString(); + + Console.println( x2 ); + +} |