summaryrefslogtreecommitdiff
path: root/test/files/neg/t9781.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t9781.scala')
-rw-r--r--test/files/neg/t9781.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t9781.scala b/test/files/neg/t9781.scala
new file mode 100644
index 0000000000..70234dcca5
--- /dev/null
+++ b/test/files/neg/t9781.scala
@@ -0,0 +1,4 @@
+object T9781 {
+ val c: collection.mutable.Map[Int, Int] = ???
+ c(undefinedSymbol) += 1
+}