aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-04-05 13:19:31 -0700
committerGitHub <noreply@github.com>2023-04-05 13:19:31 -0700
commit1587494b0b5f64a9976dcf0bd94dfe98123c2c27 (patch)
treecde249ed1d85312a98de6b7e26bb80bdce2e44f8 /bootstraptest
parent52e571fa72debcd764765775bd1b76ee87e36d2d (diff)
downloadruby-1587494b0b5f64a9976dcf0bd94dfe98123c2c27.tar.gz
YJIT: Add codegen for Integer methods (#7665)
* YJIT: Add codegen for Integer methods * YJIT: Update dependencies * YJIT: Fix Integer#[] for argc=2
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_yjit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb
index b7a3d3a520..c2916908b2 100644
--- a/bootstraptest/test_yjit.rb
+++ b/bootstraptest/test_yjit.rb
@@ -3817,3 +3817,8 @@ assert_equal '[true, true, true, true]', %q{
end
calling_my_func
}
+
+# Test Integer#[] with 2 args
+assert_equal '0', %q{
+ 3[0, 0]
+}