mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
258 B
Solidity
13 lines
258 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 9589: (145-147): Identifier is not a function name or not unique.
|