summaryrefslogtreecommitdiff
path: root/test/pos/bug173.scala
blob: 69f964aa36057f6d27bf784211838860ad20e7e8 (plain) (blame)
1
2
3
4
5
object V with Executable {
  def foo[A](x: String) = new Object;
  def foo[A](x: Runnable) = new Object;
  val code = foo[Int]("test");
}