aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-15 14:39:02 +0800
committerGitHub <noreply@github.com>2017-06-15 14:39:02 +0800
commit66881bd675ad483ae0bba813c79257fbc30ee941 (patch)
tree7da1d2982ae3343ae8842bbf32b3aeaea99c8018 /test/libsolidity
parent3c4671a2dafc3fc29f5662203cceeb17a0d0e36b (diff)
parent42b61171d981ceccd5f79af5508db92b4f2ad54b (diff)
downloaddexon-solidity-66881bd675ad483ae0bba813c79257fbc30ee941.tar.gz
dexon-solidity-66881bd675ad483ae0bba813c79257fbc30ee941.tar.zst
dexon-solidity-66881bd675ad483ae0bba813c79257fbc30ee941.zip
Merge branch 'develop' into asm-aux
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/InlineAssembly.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 7876b7ee..aae6dacd 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -572,6 +572,16 @@ BOOST_AUTO_TEST_CASE(returndatacopy_functional)
BOOST_CHECK(successAssemble("{ returndatacopy(0, 32, 64) }"));
}
+BOOST_AUTO_TEST_CASE(staticcall)
+{
+ BOOST_CHECK(successAssemble("{ pop(staticcall(10000, 0x123, 64, 0x10, 128, 0x10)) }"));
+}
+
+BOOST_AUTO_TEST_CASE(create2)
+{
+ BOOST_CHECK(successAssemble("{ pop(create2(10, 0x123, 32, 64)) }"));
+}
+
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_SUITE_END()