summaryrefslogtreecommitdiff
path: root/bootstraptest/pending.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/pending.rb')
-rw-r--r--bootstraptest/pending.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstraptest/pending.rb b/bootstraptest/pending.rb
index e69de29bb2..30c241619f 100644
--- a/bootstraptest/pending.rb
+++ b/bootstraptest/pending.rb
@@ -0,0 +1,15 @@
+assert_equal 'A', %q{
+ class A
+ @@a = 'A'
+ def a=(x)
+ @@a = x
+ end
+ def a
+ @@a
+ end
+ end
+
+ B = A.dup
+ B.new.a = 'B'
+ A.new.a
+}, '[ruby-core:17019]'