solidity/test/libsolidity/smtCheckerTests/special/this.sol

12 lines
205 B
Solidity
Raw Normal View History

2019-04-17 13:55:46 +00:00
contract C
{
function f(address a) public view {
assert(a == address(this));
}
}
2021-01-21 18:04:34 +00:00
// ====
2021-03-31 15:11:54 +00:00
// SMTEngine: all
2021-01-21 18:04:34 +00:00
// SMTIgnoreCex: yes
2019-04-17 13:55:46 +00:00
// ----
2021-03-31 15:11:54 +00:00
// Warning 6328: (52-78): CHC: Assertion violation happens here.