summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/-ext-/test_bug-3662.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/-ext-/test_bug-3662.rb b/test/-ext-/test_bug-3662.rb
new file mode 100644
index 00000000000..73c0697241f
--- /dev/null
+++ b/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