mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
test: Add different styles of returndatacopy and returndatasize
This commit is contained in:
parent
05af6c9255
commit
464dea2459
@ -547,7 +547,17 @@ BOOST_AUTO_TEST_CASE(returndatasize)
|
||||
BOOST_CHECK(successAssemble("{ let r := returndatasize }"));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(returndatasize_functional)
|
||||
{
|
||||
BOOST_CHECK(successAssemble("{ let r := returndatasize() }"));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(returndatacopy)
|
||||
{
|
||||
BOOST_CHECK(successAssemble("{ 64 32 0 returndatacopy }"));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(returndatacopy_functional)
|
||||
{
|
||||
BOOST_CHECK(successAssemble("{ returndatacopy(0, 32, 64) }"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user