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