rubyx/test/compiler/fragments/test_class.rb
Torsten Ruger 8bf1337043 Remove MethodReturn instruction
and pass
and fix all tests
move towards removing all vm instructions
2015-10-18 17:32:32 +03:00

20 lines
292 B
Ruby

require_relative 'helper'
class TestBasicClass < MiniTest::Test
include Fragments
def test_class_basic
@string_input = <<HERE
class Bar
int buh()
return 1
end
end
HERE
@expect = [ [Virtual::MethodEnter] ,[RegisterTransfer,GetSlot,FunctionReturn]]
check
end
end