diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/null-hash.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/null-hash.scala b/test/files/run/null-hash.scala new file mode 100644 index 0000000000..9b1f28b083 --- /dev/null +++ b/test/files/run/null-hash.scala @@ -0,0 +1,15 @@ +object Test { + def f1 = List(5, 10, null: String).## + def f2(x: Any) = x.## + def f3 = ((55, "abc", null: List[Int])).## + + def main(args: Array[String]): Unit = { + f1 + f2(null) + f2(null: String) + f3 + null.## + (null: Any).## + (null: String).## + } +} |