solidity/test/libsolidity/syntaxTests/inheritance/override/internal_external.sol

8 lines
265 B
Solidity
Raw Normal View History

2018-11-12 14:14:13 +00:00
contract A {
function f(uint[] calldata) external pure {}
function f(uint[] memory) internal pure {}
}
// ----
// DeclarationError: (17-61): Function with same name and arguments defined twice.
// TypeError: (17-61): Overriding function visibility differs.