diff options
Diffstat (limited to 'test/files/neg/xmlParsing002.scala')
-rw-r--r-- | test/files/neg/xmlParsing002.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/xmlParsing002.scala b/test/files/neg/xmlParsing002.scala new file mode 100644 index 0000000000..85e6b4384d --- /dev/null +++ b/test/files/neg/xmlParsing002.scala @@ -0,0 +1,15 @@ +//############################################################################ +// XML Parsing +//############################################################################ +// $Id$ + +import scala.testing.UnitTest._ ; + +import scala.xml._ ; + +object Test with Application { + + // error: no whitespace between attributes + val y = <hello foo="bar"baz="baz"></hello>.toString(); + +} |