summaryrefslogtreecommitdiff
path: root/bootstraptest/test_jump.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_jump.rb')
-rw-r--r--bootstraptest/test_jump.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstraptest/test_jump.rb b/bootstraptest/test_jump.rb
index bfb380e45b..9484df8852 100644
--- a/bootstraptest/test_jump.rb
+++ b/bootstraptest/test_jump.rb
@@ -271,3 +271,14 @@ assert_normal_exit %q{
end
end.call
}
+
+assert_normal_exit %q{
+ while true
+ begin
+ raise
+ next
+ rescue
+ end
+ break
+ end
+}, '[ruby-core:28172]'