aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t3222.scala
blob: 7918671a93f6590f1d4c36e33ce80b0440818936 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                
@throws(classOf[B])
class ExceptionTest {
  @throws(classOf[C])
  def foo(@throws(classOf[D]) x: Int): Unit = {}

  @throws(classOf[E])
  type t = String
}