diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-16 05:30:09 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-09-04 19:31:10 +0800 |
commit | 82f512a7d40a3bd6a13dd799be66dd164fded077 (patch) | |
tree | fd9f01adf77c0abd676a13d1c2e1c60d8f20ce1a /test/libsolidity/ViewPureChecker.cpp | |
parent | f27d7edfd605ac04e04eafded93a9a4e81f20122 (diff) | |
download | dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.gz dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.zst dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.zip |
Add return data to bare calls.
Diffstat (limited to 'test/libsolidity/ViewPureChecker.cpp')
-rw-r--r-- | test/libsolidity/ViewPureChecker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/ViewPureChecker.cpp b/test/libsolidity/ViewPureChecker.cpp index d993b92e..b7ea1efc 100644 --- a/test/libsolidity/ViewPureChecker.cpp +++ b/test/libsolidity/ViewPureChecker.cpp @@ -103,7 +103,8 @@ BOOST_AUTO_TEST_CASE(address_staticcall) string text = R"( contract C { function i() view public returns (bool) { - return address(0x4242).staticcall(""); + (bool success,) = address(0x4242).staticcall(""); + return success; } } )"; |