solidity/test/libsolidity/syntaxTests/inheritance/override/internal_external.sol
Daniel Kirchner 597174119a Tests.
2018-11-26 14:30:32 +01:00

8 lines
265 B
Solidity

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.