summaryrefslogtreecommitdiff
path: root/ext/-test-/symbol/intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/symbol/intern.c')
-rw-r--r--ext/-test-/symbol/intern.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/-test-/symbol/intern.c b/ext/-test-/symbol/intern.c
deleted file mode 100644
index 6ae86a6..0000000
--- a/ext/-test-/symbol/intern.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "ruby.h"
-
-static VALUE
-bug_sym_interned_p(VALUE self, VALUE name)
-{
- ID id = rb_check_id(&name);
- return id ? Qtrue : Qfalse;
-}
-
-void
-Init_intern(VALUE klass)
-{
- rb_define_singleton_method(klass, "interned?", bug_sym_interned_p, 1);
-}