summaryrefslogblamecommitdiff
path: root/test/files/pos/value-class-override-spec.scala
blob: 79de5d93054a73da61bfaa934541f4cd750f811d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                 
// There are two versions of this tests: one with and one without specialization.
// The bug was only exposed *without* specialization.
trait T extends Any {
  def x: Any
}

final class StringOps(val repr0: String) extends AnyVal with T {
  def x = ()
}