solidity/test/libsolidity/smtCheckerTests/verification_target/simple_assert.sol
2020-09-09 16:14:21 +02:00

7 lines
170 B
Solidity

pragma experimental SMTChecker;
contract C {
function f(uint a) public pure { assert(a == 2); }
}
// ----
// Warning 6328: (82-96): Assertion violation happens here.