summaryrefslogblamecommitdiff
path: root/test/files/neg/t5564.scala
blob: 663cf88726d7893f3acb607eae69420e826e0a73 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                               
trait C


class Foo[@specialized(Int) T, A] {
  def bar[B >: A <: C]: T = throw new Exception
}