legacy-svn-scala/test/pending/neg/t3152.scala

9 lines
229 B
Scala
Raw Permalink Normal View History

package test
object NotEnclosing {
def main(args : Array[String]) : Unit = {}
def compare[T](x: Ordered[T], y: Ordered[T]) = error("")
def mkEx: Ordered[_] = error("")
compare(mkEx, mkEx)
}