diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_syntax.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb index b1517e697b..5c45c95f94 100644 --- a/bootstraptest/test_syntax.rb +++ b/bootstraptest/test_syntax.rb @@ -608,3 +608,7 @@ assert_equal '3', %q{ p(1, (redo; 2)) end) } +assert_equal '1', %q{ + a = [0] + a[*a]+=1 +} |