diff options
Diffstat (limited to 'test/files/jvm/xmlattr.scala')
-rw-r--r-- | test/files/jvm/xmlattr.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/jvm/xmlattr.scala b/test/files/jvm/xmlattr.scala index 9801e05357..c34f66eafc 100644 --- a/test/files/jvm/xmlattr.scala +++ b/test/files/jvm/xmlattr.scala @@ -20,4 +20,10 @@ object Test extends Application { Console.println(x.get("foo")) // None Console.println(x("foo")) // null } + + val x1 = <b x="&"/> + val x2 = <b x={"&"}/> + Console.println(x1) + Console.println(x2) + } |