summaryrefslogblamecommitdiff
path: root/test/pos/bug76.scala
blob: 07cddd714f98b6d1b97d82d727aa493710af7736 (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(def i: Int): Int = 0;

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