diff options
author | chriseth <chris@ethereum.org> | 2018-06-29 15:19:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 15:19:24 +0800 |
commit | c9cab803892a09386617faab6b4e1580ee2eaa47 (patch) | |
tree | 9e2d7f4b5d79608028739199cc7163423e5b2310 /test/libsolidity/SolidityABIJSON.cpp | |
parent | 29f6ee36d046cd686cfd3ea630a2dc3945d4040f (diff) | |
parent | eeef82b2d77c6f956039c57b0598e684254ee6dd (diff) | |
download | dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.gz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.bz2 dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.lz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.xz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.zst dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.zip |
Merge pull request #4375 from ethereum/fallbackExternalBackwardsCompatible
Fallback function has to be external: backwards-compatible changes.
Diffstat (limited to 'test/libsolidity/SolidityABIJSON.cpp')
-rw-r--r-- | test/libsolidity/SolidityABIJSON.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp index 107abc26..b1c8e567 100644 --- a/test/libsolidity/SolidityABIJSON.cpp +++ b/test/libsolidity/SolidityABIJSON.cpp @@ -843,7 +843,7 @@ BOOST_AUTO_TEST_CASE(include_fallback_function) { char const* sourceCode = R"( contract test { - function() {} + function() external {} } )"; @@ -897,7 +897,7 @@ BOOST_AUTO_TEST_CASE(payable_fallback_function) { char const* sourceCode = R"( contract test { - function () payable {} + function () external payable {} } )"; |