aboutsummaryrefslogtreecommitdiffstats
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index b97a08d928..d53bdb753b 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -3,3 +3,12 @@
# So all tests will cause failure.
#
+assert_equal 'false', %q{
+ x = Object.new.taint
+ class << x
+ def to_s; "foo".freeze; end
+ end
+ x.taint
+ [x].join("")
+ eval '"foo".freeze.tainted?'
+}