mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LLL: check for return value in LLL smoke test
This commit is contained in:
parent
e26466b729
commit
85ebe4e5c4
@ -40,6 +40,7 @@ BOOST_AUTO_TEST_CASE(smoke_test)
|
||||
{
|
||||
char const* sourceCode = "(returnlll { (return \"test\") })";
|
||||
compileAndRun(sourceCode);
|
||||
BOOST_CHECK(callContractFunction("") == encodeArgs(string("test", 4)));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
Loading…
Reference in New Issue
Block a user