diff options
Diffstat (limited to 'tests/untried/neg/t3222.scala')
-rw-r--r-- | tests/untried/neg/t3222.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/neg/t3222.scala b/tests/untried/neg/t3222.scala new file mode 100644 index 000000000..7918671a9 --- /dev/null +++ b/tests/untried/neg/t3222.scala @@ -0,0 +1,9 @@ +@throws(classOf[B]) +class ExceptionTest { + @throws(classOf[C]) + def foo(@throws(classOf[D]) x: Int): Unit = {} + + @throws(classOf[E]) + type t = String +} + |