test return statement

This commit is contained in:
Torsten Ruger
2015-10-15 10:21:07 +03:00
parent f8efdd910c
commit 90ed4dd73b
3 changed files with 71 additions and 13 deletions

View File

@ -41,19 +41,6 @@ HERE
end
def ttest_return
@string_input = <<HERE
class Object
int main()
return 5
end
end
HERE
@expect = [[Virtual::MethodEnter,Register::LoadConstant] , [Virtual::MethodReturn]]
check
end
def ttest_call_function
@string_input = <<HERE
class Object