summaryrefslogtreecommitdiff
path: root/test/files/neg/t9535.check
blob: 5c3e3ea8e687d0850195194b0d63210760b37ff7 (plain) (blame)
1
2
3
4
5
6
7
t9535.scala:4: error: not found: type E1
  @throws[E1] def f[E1 <: Exception] = 1
          ^
t9535.scala:6: error: class type required but E found
  @throws(classOf[E]) def g: E = ??? // neg test: classOf requires class type
                  ^
two errors found