aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/implicits.scala
blob: 1a3e0b4da9393d9b3594853f41e72bc0bebf2dc0 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                          
object Test {

  class X(i: Int)

  implicit def int2x(i: Int): X = new X(i)

  val x: X = Byte.MinValue

}