summaryrefslogtreecommitdiff
path: root/test/files/pos/t6274.scala
blob: cf769fc72d84980e367e980004c8b13622704d26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
trait Crash {

    def foo(i: => Int) (j: Int): Int

    def t = {
        // var count = 0
        foo {
            var count = 0
            count
        } _
    }

}