diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-07-02 17:44:16 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-02 17:44:16 +0800 |
commit | 1b008c62a1e2475fe0fc160150dca482009912d1 (patch) | |
tree | 0dac9fbf3ba8ffb3a631fd94788e2f3f0810106d /test/libsolidity/syntaxTests/visibility | |
parent | f3ca0685feb4b8d499914a3c1ff9432d4cef4b7e (diff) | |
download | dexon-solidity-1b008c62a1e2475fe0fc160150dca482009912d1.tar.gz dexon-solidity-1b008c62a1e2475fe0fc160150dca482009912d1.tar.zst dexon-solidity-1b008c62a1e2475fe0fc160150dca482009912d1.zip |
Adds review suggestions.
Diffstat (limited to 'test/libsolidity/syntaxTests/visibility')
-rw-r--r-- | test/libsolidity/syntaxTests/visibility/interface/function_default.sol | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/visibility/interface/function_default.sol b/test/libsolidity/syntaxTests/visibility/interface/function_default.sol index de4ee9d0..72ce3b40 100644 --- a/test/libsolidity/syntaxTests/visibility/interface/function_default.sol +++ b/test/libsolidity/syntaxTests/visibility/interface/function_default.sol @@ -1,3 +1,6 @@ interface I { - function f() external; + function f(); } +// ---- +// Warning: (15-28): Functions in interfaces should be declared external. +// Warning: (15-28): No visibility specified. Defaulting to "public". In interfaces it defaults to external. |