summaryrefslogtreecommitdiff
path: root/test/files/run/MeterCaseClass.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/MeterCaseClass.scala')
-rw-r--r--test/files/run/MeterCaseClass.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/MeterCaseClass.scala b/test/files/run/MeterCaseClass.scala
index 18f8e23f89..39d95c2af5 100644
--- a/test/files/run/MeterCaseClass.scala
+++ b/test/files/run/MeterCaseClass.scala
@@ -1,4 +1,9 @@
package a {
+ abstract class BoxingConversions[Boxed, Unboxed] {
+ def box(x: Unboxed): Boxed
+ def unbox(x: Boxed): Unboxed
+ }
+
case class Meter(underlying: Double) extends AnyVal with _root_.b.Printable {
def + (other: Meter): Meter =
new Meter(this.underlying + other.underlying)