solidity/test/libsolidity/syntaxTests/visibility/interface/function_public.sol
Christian Parpart 396bf11858 enforce interface-functions to be external-declared
- libsolidity: Enforce interface-functions must be external-declared.
- Changelog adapted to reflect changes wrt. functions in interfaces.
- test: Adjustments according to prior interface-function changes.
- tests: Adapting SolidityEndToEndTest to interface-function change.
- docs: Adapted documentation to interface-function change.
2018-07-16 12:15:36 +02:00

6 lines
120 B
Solidity

interface I {
function f() public;
}
// ----
// TypeError: (15-35): Functions in interfaces must be declared external.