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

7 lines
202 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.