solidity/test/libsolidity/smtCheckerTests/operators/exp.sol

12 lines
409 B
Solidity
Raw Normal View History

contract D {
function f(uint x) public pure {
assert(x**2 == 4);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----
2021-03-31 15:11:54 +00:00
// Warning 5188: (56-60): Assertion checker does not yet implement this operator.
// Warning 6328: (49-66): CHC: Assertion violation happens here.\nCounterexample:\n\nx = 0\n\nTransaction trace:\nD.constructor()\nD.f(0)
// Warning 5188: (56-60): Assertion checker does not yet implement this operator.