solidity/test/libsolidity/smtCheckerTests/special/this.sol
2021-03-30 17:55:21 +02:00

13 lines
221 B
Solidity

pragma experimental SMTChecker;
contract C
{
function f(address a) public view {
assert(a == address(this));
}
}
// ====
// SMTIgnoreCex: yes
// ----
// Warning 6328: (85-111): CHC: Assertion violation happens here.