solidity/test/libsolidity/syntaxTests/using/free_functions_non_unique_err.sol

13 lines
245 B
Solidity
Raw Normal View History

2021-10-11 08:16:52 +00:00
function id(int8 x) pure returns(int8) {
return x;
}
function id(uint256 x) pure returns(uint256) {
return x;
}
contract C {
using {id} for uint256;
}
// ----
// DeclarationError 7920: (145-147): Identifier not found or not unique.