summaryrefslogtreecommitdiff
path: root/test/files/run/null-hash.scala
blob: abf15e8166f6c0598e5a3f8e37097e085c8782d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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).##
  }
}