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

6 lines
140 B
Solidity

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