aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/elidable-tparams.scala
blob: d65478bcb73e065911daf6394bf4e7a129301a6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import annotation._
import elidable._

class ElidableCrashTest {
  trait My

  @elidable(MINIMUM) def foo[a >: My <: My]: scala.Unit = ()

  foo[My] // crash
}