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

7 lines
150 B
Solidity
Raw Normal View History

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