aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t8931.scala
blob: e5e12ae8a75a5de09f2b4515b347270121cedf25 (plain) (tree)
1
2
3
4
5
6
7
8






                        
                                             






                                                                         
trait A

trait B extends A

class C extends A with B

object Test extends dotty.runtime.LegacyApp {
  val c = classOf[C]

  println(c.getGenericInterfaces.toList)

  assert(c.getGenericInterfaces.length == c.getInterfaces.length,
    s"mismatch between ${c.getGenericInterfaces} and ${c.getInterfaces}")
}