mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
175 B
Solidity
6 lines
175 B
Solidity
contract C {
|
|
uint constant b3 = 1 % (-4+((2)*2));
|
|
}
|
|
// ----
|
|
// TypeError 2271: (36-52): Built-in binary operator % cannot be applied to types int_const 1 and int_const 0.
|