diff options
Diffstat (limited to 'tests/run/exc.scala')
-rw-r--r-- | tests/run/exc.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run/exc.scala b/tests/run/exc.scala new file mode 100644 index 000000000..be999794a --- /dev/null +++ b/tests/run/exc.scala @@ -0,0 +1,10 @@ +object Test extends dotty.runtime.LegacyApp { + def foo() = { + while (true) { + try { + } catch { + case ex: Exception => + } + } + } +} |