summaryrefslogtreecommitdiff
path: root/test/pending/pos/t2081.scala
blob: 72ebd0557b9d7db1ccb4d0d533864e3f99d930b5 (plain) (blame)
1
2
3
4
5
6
7
class RichInt(n: Int) {
  def days = 1000*60*60*24*n
}

implicit def RichInt(n: Int): RichInt = new RichInt(n)

10.days