aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t8931.scala
blob: e5e12ae8a75a5de09f2b4515b347270121cedf25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}")
}