blob: eb62d36ed88c1423458bdb854f3d103ec8a2709b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
pragma experimental SMTChecker;
contract C {
function f(uint x) public pure {
uint y;
for (y = 2; x < 10; ) {
y = 3;
}
assert(y == 3);
}
}
// ----
// Warning: (167-181): Assertion violation happens here
|