solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/201_integer_signed_exp_signed.sol

4 lines
159 B
Solidity
Raw Normal View History

contract test { function() public { int x = -3; int y = -4; x ** y; } }
// ----
// TypeError: (60-66): Operator ** not compatible with types int256 and int256