diff options
Diffstat (limited to 'test/pending/pos/t2081.scala')
-rw-r--r-- | test/pending/pos/t2081.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/t2081.scala b/test/pending/pos/t2081.scala new file mode 100644 index 0000000000..72ebd0557b --- /dev/null +++ b/test/pending/pos/t2081.scala @@ -0,0 +1,7 @@ +class RichInt(n: Int) { + def days = 1000*60*60*24*n +} + +implicit def RichInt(n: Int): RichInt = new RichInt(n) + +10.days |