summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/fixtures/debug_info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/command_line/fixtures/debug_info.rb')
-rw-r--r--spec/ruby/command_line/fixtures/debug_info.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/ruby/command_line/fixtures/debug_info.rb b/spec/ruby/command_line/fixtures/debug_info.rb
new file mode 100644
index 0000000000..ee607910c0
--- /dev/null
+++ b/spec/ruby/command_line/fixtures/debug_info.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+a = 'string'
+b = a
+c = b
+d = c
+e = d
+begin
+ a << 'new part'
+rescue Exception => e
+ print e.message
+end