summaryrefslogtreecommitdiff
path: root/test/ruby/test_syntax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_syntax.rb')
-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 9838680e6a..42866630ad 100644
--- a/test/ruby/test_syntax.rb
+++ b/test/ruby/test_syntax.rb
@@ -986,6 +986,7 @@ eom
raise((return; "should not raise"))
begin raise; ensure return; end; self
begin raise; ensure return; end and self
+ nil&defined?0--begin e=no_method_error(); return; 0;end
end;
all_assertions(feature4840) do |a|
code.each_line do |s|