summaryrefslogtreecommitdiff
path: root/bootstraptest/test_massign.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-23 07:10:56 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-23 07:10:56 +0000
commite39eb9dab50eaa681467e51145b37cdc11667830 (patch)
treeb0b1e300f1105da8124013b71adab030b9182ee8 /bootstraptest/test_massign.rb
parentac41d2774982fcf6f297e71c3e1209a650e44ce7 (diff)
* compile.c, insns.def, parse.y: fix massign order. This change
causes performance problem. Try vm1_swap benchmark. [ruby-dev:31522] * insns.def, insnhelper.ci: move process body of expandarray insn to vm_expandarray(). * bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb: move a solved test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_massign.rb')
-rw-r--r--bootstraptest/test_massign.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/test_massign.rb b/bootstraptest/test_massign.rb
index 71b5345..202dbd3 100644
--- a/bootstraptest/test_massign.rb
+++ b/bootstraptest/test_massign.rb
@@ -3,6 +3,7 @@ assert_equal '[[1], 2, 3]', '*v1,(*), (a, b) = [1,:x,[2, 3]]; [v1, a, b]'
assert_equal '[]', '*a = *nil; a'
assert_equal '[nil]', '*a = nil; a'
+assert_equal '2', 'a, a = 1, 2; a', "[ruby-dev:31522]"
=begin
# generated by this script: