aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityABIJSON.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-29 15:19:24 +0800
committerGitHub <noreply@github.com>2018-06-29 15:19:24 +0800
commitc9cab803892a09386617faab6b4e1580ee2eaa47 (patch)
tree9e2d7f4b5d79608028739199cc7163423e5b2310 /test/libsolidity/SolidityABIJSON.cpp
parent29f6ee36d046cd686cfd3ea630a2dc3945d4040f (diff)
parenteeef82b2d77c6f956039c57b0598e684254ee6dd (diff)
downloaddexon-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.cpp4
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 {}
}
)";