summaryrefslogtreecommitdiff
path: root/test/files/run/t7445.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7445.scala')
-rw-r--r--test/files/run/t7445.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7445.scala b/test/files/run/t7445.scala
new file mode 100644
index 0000000000..e4ffeb8e1a
--- /dev/null
+++ b/test/files/run/t7445.scala
@@ -0,0 +1,6 @@
+import scala.collection.immutable.ListMap
+
+object Test extends App {
+ val a = ListMap(1 -> 1, 2 -> 2, 3 -> 3, 4 -> 4, 5 -> 5);
+ require(a.tail == ListMap(2 -> 2, 3 -> 3, 4 -> 4, 5 -> 5));
+}