mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
218 B
Solidity
9 lines
218 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
uint z = 0;
|
|
uint x = 2 / z;
|
|
}
|
|
// ----
|
|
// Warning 4281: (69-74): CHC: Division by zero happens here.\nCounterexample:\nz = 0, x = 0\n\nTransaction trace:\nC.constructor()
|