aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/fallback/default_visibility.sol
diff options
context:
space:
mode:
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".