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