summaryrefslogtreecommitdiff
path: root/test/neg/bug45.scala
blob: 8e5e55c274437bd079618640a8aa3022563532c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Main {

    def main(args: Array[String]) = {
        def foo[Int](x: Int): Int = null;
        val y1 = null;
        val y2 = foo(2);
        ()
    }

}