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

7 lines
207 B
Solidity

interface I {
function f();
}
// ----
// SyntaxError 4937: (15-28): No visibility specified. Did you intend to add "external"?
// TypeError 1560: (15-28): Functions in interfaces must be declared external.