diff options
Diffstat (limited to 'test/pending/run/impconvtimes.scala')
-rw-r--r-- | test/pending/run/impconvtimes.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/pending/run/impconvtimes.scala b/test/pending/run/impconvtimes.scala deleted file mode 100644 index a69610b94a..0000000000 --- a/test/pending/run/impconvtimes.scala +++ /dev/null @@ -1,17 +0,0 @@ -object Test { - abstract class Unit - object NoUnit extends Unit - object Hour extends Unit - - case class Measure(scalar: Double, unit: Unit) { - def *(newUnit: Unit) = Measure(scalar, newUnit) - } - - implicit def double2Measure(scalar: Double) = - Measure(scalar, NoUnit) - - - def main(args: Array[String]): scala.Unit = { - Console.println("3.0 * Hour = " + (3.0 * Hour)) - } -} |