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

25 lines
266 B
Ruby

require_relative 'helper'
class TestFoo < MiniTest::Test
include Fragments
def test_foo2
@string_input = <<HERE
class Object
int foo(int x)
int a = 5
return a
end
int main()
foo( 4 )
end
end
HERE
@length = 39
check
end
end