solidity/test/libsolidity/syntaxTests/visibility/interface/function_default.sol

7 lines
222 B
Solidity
Raw Normal View History

interface I {
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.