mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
4 lines
228 B
Solidity
4 lines
228 B
Solidity
contract test { fallback() external { uint x = 3; int y = -4; x ** y; } }
|
|
// ----
|
|
// TypeError: (62-68): Operator ** not compatible with types uint256 and int256. Exponentiation power is not allowed to be a signed integer type.
|