mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
155 B
Solidity
6 lines
155 B
Solidity
contract C {
|
|
uint constant a = 1 / ((1+3)-4);
|
|
}
|
|
// ----
|
|
// TypeError: (35-48): Operator "/" not compatible with types "int_const 1" and "int_const 0".
|