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

8 lines
193 B
Solidity
Raw Normal View History

pragma experimental "v0.5.0";
interface I {
function f();
}
// ----
// SyntaxError: (45-58): No visibility specified.
// TypeError: (45-58): Functions in interfaces must be declared external.