diff options
-rw-r--r-- | bootstraptest/test_knownbug.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 3da2554937..17797aca80 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -3,4 +3,13 @@ # So all tests will cause failure. # +assert_equal 'ok', %q{ + class X < RuntimeError;end + x = [X] + begin + raise X + rescue *x + :ok + end +}, '[ruby-core:14537]' |