aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/fallback
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-07-10 18:48:09 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-18 00:03:35 +0800
commit75bba5c9f02df281c667b77db01594c5c7eb823d (patch)
treef11e7f2a996874e009b1f34be7e8b77cb50d9be5 /test/libsolidity/syntaxTests/fallback
parentb5ecfbe5bc2afdf8f42ec67715794aefad9dfe0f (diff)
downloaddexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.gz
dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.tar.zst
dexon-solidity-75bba5c9f02df281c667b77db01594c5c7eb823d.zip
Adjusts tests to expect type errors on default visibility.
Diffstat (limited to 'test/libsolidity/syntaxTests/fallback')
-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..2199a99b 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.
// TypeError: (90-103): Fallback function must be defined as "external".