summaryrefslogblamecommitdiff
path: root/test/files/pos/t0076.scala
blob: 5419cf515436e258642491b22cbb8f8f8eed576d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                   
// This is extracted from a test file => don't add a new test file.
object bug {
  def foo(i: => Int): Int = 0;

  def bar: Int = {
    var i: Int = 0;
    foo (i);
  }
}