rubyx/test/compiler/fragments/test_putint.rb
Torsten Ruger 142c36a374 fix return statement to actually return
fix a million tests
2015-10-27 21:04:46 +02:00

23 lines
273 B
Ruby

require_relative 'helper'
class TestPutint < MiniTest::Test
include Fragments
def test_putint
@string_input = <<HERE
class Integer
int putint()
return 1
end
end
class Object
int main()
42.putint()
end
end
HERE
@length = 33
check
end
end