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

10 lines
220 B
Solidity

contract A {
function f(uint[] calldata) external pure {}
}
contract B {
function f(uint[] memory) internal pure {}
}
contract C is A, B {}
// ----
// TypeError: (81-123): Overriding function visibility differs.