summaryrefslogtreecommitdiff
path: root/spec/ruby/core/objectspace/weakkeymap/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/objectspace/weakkeymap/fixtures')
-rw-r--r--spec/ruby/core/objectspace/weakkeymap/fixtures/classes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/ruby/core/objectspace/weakkeymap/fixtures/classes.rb b/spec/ruby/core/objectspace/weakkeymap/fixtures/classes.rb
new file mode 100644
index 0000000000..0fd04551b5
--- /dev/null
+++ b/spec/ruby/core/objectspace/weakkeymap/fixtures/classes.rb
@@ -0,0 +1,5 @@
+module WeakKeyMapSpecs
+ class KeyWithPrivateHash
+ private :hash
+ end
+end