summaryrefslogtreecommitdiff
path: root/test/files/run/t6908.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6908.scala')
-rw-r--r--test/files/run/t6908.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t6908.scala b/test/files/run/t6908.scala
new file mode 100644
index 0000000000..a641de96b9
--- /dev/null
+++ b/test/files/run/t6908.scala
@@ -0,0 +1,6 @@
+object Test {
+ def main(args: Array[String]) {
+ val set = collection.mutable.Set("1", null, "3").par
+ assert( set exists (_ eq null) )
+ }
+}