dae12c532c
they mostly got longer due to the added store instruction + label
25 lines
266 B
Ruby
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 = 41
|
|
check
|
|
end
|
|
|
|
|
|
end
|