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

8 lines
175 B
Solidity

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