diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/i2056.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pos/i2056.scala b/tests/pos/i2056.scala new file mode 100644 index 000000000..c4d020fb6 --- /dev/null +++ b/tests/pos/i2056.scala @@ -0,0 +1,13 @@ +object Test { + inline def crash() = { + try { + println("hi") + } catch { + case e: Exception => + } + } + + def main(args: Array[String]): Unit = { + crash() + } +} |