class Foo[T](val x: T) extends AnyVal object Test extends dotty.runtime.LegacyApp { println(manifest[Foo[_]]) }