diff options
Diffstat (limited to 'test/files/run/t6102.scala')
-rw-r--r-- | test/files/run/t6102.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/t6102.scala b/test/files/run/t6102.scala new file mode 100644 index 0000000000..53584055bb --- /dev/null +++ b/test/files/run/t6102.scala @@ -0,0 +1,13 @@ +// SI-6102 Wrong bytecode in lazyval + no-op finally clause + +object Test { + + def main(args: Array[String]) { + try { + val x = 3 + } finally { + print("hello") + } + } +} + |