aboutsummaryrefslogtreecommitdiffstats
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 39dc6a9b8b..3db710a73a 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -2,3 +2,14 @@
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
+
+assert_equal 'ok', %q{
+ class Foo
+ define_method(:foo) do |&b|
+ b.call
+ end
+ end
+ Foo.new.foo do
+ break :ok
+ end
+}, '[ruby-dev:36028]'