mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
265 B
Solidity
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.
|