summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb')
-rw-r--r--spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb b/spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb
new file mode 100644
index 0000000000..381a742001
--- /dev/null
+++ b/spec/ruby/command_line/fixtures/string_literal_mutable_comment.rb
@@ -0,0 +1,4 @@
+# frozen_string_literal: false
+frozen = "test".frozen?
+interned = "test".equal?("test")
+puts "frozen:#{frozen} interned:#{interned}"