summaryrefslogtreecommitdiff
path: root/yarvtest/test_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'yarvtest/test_method.rb')
-rw-r--r--yarvtest/test_method.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/yarvtest/test_method.rb b/yarvtest/test_method.rb
index 60e7a9dd4e..249211c2e4 100644
--- a/yarvtest/test_method.rb
+++ b/yarvtest/test_method.rb
@@ -553,6 +553,14 @@ class TestMethod < YarvTestBase
obj.send(:m, :x){}
$r
}
+ ae %q{
+ class C
+ def send
+ :ok
+ end
+ end
+ C.new.send
+ }
end
def test_send_with_private