aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_syntax.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb
index 57e0b29162..b2bd688a77 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -977,6 +977,7 @@ eom
"#{return}"
raise((return; "should not raise"))
begin raise; ensure return; end; self
+ begin raise; ensure return; end and self
end;
all_assertions(feature4840) do |a|
code.each_line do |s|