solidity/test/libsolidity/syntaxTests/visibility/interface/function_public050.sol
2018-04-10 14:08:22 +02:00

7 lines
150 B
Solidity

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