mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
4 lines
162 B
Solidity
4 lines
162 B
Solidity
contract test { function() external { uint x = 3; int y = -4; y ** x; } }
|
|
// ----
|
|
// TypeError: (62-68): Operator ** not compatible with types int256 and uint256
|