summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/t1773.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t1773.scala b/test/files/run/t1773.scala
new file mode 100644
index 0000000000..fc24f58b61
--- /dev/null
+++ b/test/files/run/t1773.scala
@@ -0,0 +1,12 @@
+object Test extends Application
+{
+ val xs = List(
+ <a></a>,
+ <a/>,
+ <a>{ xml.NodeSeq.Empty }</a>,
+ <a>{""}</a>,
+ <a>{ if (true) "" else "I like turtles" }</a>
+ )
+
+ for (x1 <- xs; x2 <- xs) assert (x1 == x2)
+} \ No newline at end of file