aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t4827.scala
blob: 7270cf169defcfec8fe2728e20acdb063f7fd94e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                 
object Test {
  def main(args: Array[String]): Unit = Foo.foo()
}

trait CommonTrait {
  def foo(): String = null
}

class Foo

object Foo {
  def goo() = new Foo() with CommonTrait

  def foo(): String = null
}