aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t4827b.scala
blob: 84d6d907d39e40f7f261fefce5e03f2bc82cbd95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package foo {
  class Foo { }
  object Foo {
    def bippy(x: Int) = x
  }
}

package bar {
  class Bippy extends foo.Foo {
    def bippy(x: Int) = x
  }
}

object Test {
  def main(args: Array[String]): Unit = {
    new bar.Bippy bippy 5
  }
}