diff options
Diffstat (limited to 'test/files/run/xmlParsing.scala')
-rw-r--r-- | test/files/run/xmlParsing.scala | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/files/run/xmlParsing.scala b/test/files/run/xmlParsing.scala index d602d9e0bc..beedf44b62 100644 --- a/test/files/run/xmlParsing.scala +++ b/test/files/run/xmlParsing.scala @@ -37,6 +37,15 @@ object Test with Application { val ent = <foo> hello character entities! welcome   unicode characters! - </foo> + </foo>; + + + val foo = <a/><b/><c/>; + + val foo2 = foo match { + case <a/><b/> => 1 + case <a></a><b></b><c></c> => 2 + case Seq(Elem("a"),Elem("b"),Elem("c")) => 3 + }; } |