aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/fallback/default_visibility.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-18 18:08:42 +0800
committerGitHub <noreply@github.com>2018-07-18 18:08:42 +0800
commitb909df4573130e020c7f4dfb61c0571ba1bc02ab (patch)
treec5657726547d314fef6e80af702d061275afe5c7 /test/libsolidity/syntaxTests/fallback/default_visibility.sol
parent1d33f41c1ab96746b97b97f79732ec23759fb8f0 (diff)
parent8b827af5bf4ed52c9612bcf1bdadb25ca7b879bf (diff)
downloaddexon-solidity-b909df4573130e020c7f4dfb61c0571ba1bc02ab.tar.gz
dexon-solidity-b909df4573130e020c7f4dfb61c0571ba1bc02ab.tar.zst
dexon-solidity-b909df4573130e020c7f4dfb61c0571ba1bc02ab.zip
Merge pull request #4430 from ethereum/enforceVisibilitySpecifier
[BREAKING] Enforce visibility specifier
Diffstat (limited to 'test/libsolidity/syntaxTests/fallback/default_visibility.sol')
-rw-r--r--test/libsolidity/syntaxTests/fallback/default_visibility.sol1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/fallback/default_visibility.sol b/test/libsolidity/syntaxTests/fallback/default_visibility.sol
index 31123d59..6fbb15a5 100644
--- a/test/libsolidity/syntaxTests/fallback/default_visibility.sol
+++ b/test/libsolidity/syntaxTests/fallback/default_visibility.sol
@@ -3,4 +3,5 @@ contract C {
function() {}
}
// ----
+// SyntaxError: (90-103): No visibility specified. Did you intend to add "external"?
// TypeError: (90-103): Fallback function must be defined as "external".