summaryrefslogtreecommitdiff
path: root/test/files/neg/t8763.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8763.scala')
-rw-r--r--test/files/neg/t8763.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/t8763.scala b/test/files/neg/t8763.scala
new file mode 100644
index 0000000000..08ce1b471a
--- /dev/null
+++ b/test/files/neg/t8763.scala
@@ -0,0 +1,11 @@
+
+import collection.mutable
+
+object Foo {
+ def bar() {
+ val names_times = mutable.Map[String, mutable.Set[Long]]()
+ val line = ""
+ val Array(fields) = line.split("\t")
+ names_times(fields(0)) += fields(1).toLong
+ }
+}