summaryrefslogblamecommitdiff
path: root/test/files/pos/generic-sigs.scala
blob: 4822cfcfb047eeacfb49a2687c6f6c4abc85d986 (plain) (tree)
1
2
3
4
5
6
7






                                              
object A {
  def f1 = List(classOf[Int], classOf[String])
  def f2 = List(classOf[String], classOf[Int])
  def f3(x: Class[_ <: Int]) = x
  def f4(x: Class[_ <: String with Int]) = x
  def f5(x: Class[_ <: Int with String]) = x
}