mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
180 B
Solidity
8 lines
180 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
42 ** (-1/4);
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (50-62): Operator ** not compatible with types int_const 42 and rational_const -1 / 4
|