summaryrefslogtreecommitdiff
path: root/test/files/neg/t6426.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-03 10:07:48 -0700
committerPaul Phillips <paulp@improving.org>2012-11-03 10:09:07 -0700
commit357f45c1152728a5e461312f462aa7ab63e2adec (patch)
tree6c11462db2bc0862ecc1eef42cb235a775155cfb /test/files/neg/t6426.scala
parent0475fbd6e0cad15460d87eda52c9487f7ff171d3 (diff)
downloadscala-357f45c1152728a5e461312f462aa7ab63e2adec.tar.gz
scala-357f45c1152728a5e461312f462aa7ab63e2adec.tar.bz2
scala-357f45c1152728a5e461312f462aa7ab63e2adec.zip
Fix for SI-6426, importable _.
Prohibit `_` as an identifier, it can only bring badness.
Diffstat (limited to 'test/files/neg/t6426.scala')
-rw-r--r--test/files/neg/t6426.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t6426.scala b/test/files/neg/t6426.scala
new file mode 100644
index 0000000000..a27d18eb58
--- /dev/null
+++ b/test/files/neg/t6426.scala
@@ -0,0 +1,5 @@
+class A {
+ import collection.{mutable => _, _}
+
+ println(`_`.Buffer(0))
+}