diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-01-02 22:53:14 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-05 22:11:20 -0800 |
commit | a8dec34961d7734ad975e44efa8aae361a1c4f5a (patch) | |
tree | 5849c716f37c959d9276ddb8c598fe1142a7f6fa /bootstraptest | |
parent | 21696ad81ec40cf9cd146836dc8c945f1e485774 (diff) |
Implement initial opt_lt
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_mjit.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_mjit.rb b/bootstraptest/test_mjit.rb index af5b14e50a..420b15aa19 100644 --- a/bootstraptest/test_mjit.rb +++ b/bootstraptest/test_mjit.rb @@ -2,3 +2,9 @@ assert_equal 'true', %q{ def nil_nil = nil == nil nil_nil } + +assert_equal 'true', %q{ + def lt(a, b) = a < b + lt(1, 2) + lt('a', 'b') +} |