diff options
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 420b15aa19..c00c742318 100644 --- a/bootstraptest/test_mjit.rb +++ b/bootstraptest/test_mjit.rb @@ -8,3 +8,9 @@ assert_equal 'true', %q{ lt(1, 2) lt('a', 'b') } + +assert_equal '3', %q{ + def foo = 2 + def bar = 1 + foo + nil.to_i + bar +} |