summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-17 02:50:37 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-17 02:50:37 +0000
commitd4f507ab97bb039ca5e7b9fcfc1adddfa5e9efaf (patch)
treeddac47734f604be140b8d566f47915b7a0eaa344 /bootstraptest
parent4aacaf216c64be1c45983aa992c8f4f9160ba6c7 (diff)
merge revision(s) 49586: [Backport #10853]
* string.c (str_discard): does not free for STR_NOFREE string. [Bug #10853][ruby-core:68110] * bootstraptest/test_string.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_string.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_string.rb b/bootstraptest/test_string.rb
new file mode 100644
index 0000000000..849dcd45b0
--- /dev/null
+++ b/bootstraptest/test_string.rb
@@ -0,0 +1,3 @@
+assert_normal_exit %q{
+ inspect.clear
+}, '[ruby-core:68110]'