summaryrefslogtreecommitdiff
path: root/jni/ruby/test/-ext-/test_bug-3662.rb
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/test/-ext-/test_bug-3662.rb')
-rw-r--r--jni/ruby/test/-ext-/test_bug-3662.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/jni/ruby/test/-ext-/test_bug-3662.rb b/jni/ruby/test/-ext-/test_bug-3662.rb
new file mode 100644
index 0000000..73c0697
--- /dev/null
+++ b/jni/ruby/test/-ext-/test_bug-3662.rb
@@ -0,0 +1,10 @@
+require '-test-/bug-3662/bug'
+
+class Test_BUG_3662 < Test::Unit::TestCase
+ def test_funcall_notimplement
+ bug3662 = '[ruby-dev:41953]'
+ assert_raise(NotImplementedError, bug3662) {
+ Bug.funcall(:notimplement)
+ }
+ end
+end