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

7 lines
102 B
Solidity
Raw Normal View History

2021-10-11 08:16:52 +00:00
function id(uint16 x) pure returns(uint16) {
return x;
}
contract C {
using {id} for uint8;
}