diff options
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index 2f9e1ced..435c3dad 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -547,8 +547,18 @@ 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) }")); } |