summaryrefslogtreecommitdiff
path: root/test/files/pos/bug720.scala
blob: beeae371bda004fa014cfced05ce984726807ef7 (plain) (blame)
1
2
3
4
5
6
7
8
9
trait Conv
object Conv {
  implicit def one2two (one: One): Two = new Two }
class One extends Conv
class Two
object Test2 extends Application {
  def fun (two: Two) = ()
  fun(new One)
}