summaryrefslogtreecommitdiff
path: root/test/files/neg/bug45.check
blob: fe8d97ec16b2851b16c7926c06dbb5beed0ddf02 (plain) (blame)
1
2
3
4
5
6
bug45.scala:4: type mismatch;
 found   : scala.AllRef(null)
 required: Int
        def foo[Int](x: Int): Int = null;
                                    ^
one error found