solidity/test/libsolidity/smtCheckerTests/function_selector/selector.sol
2023-03-09 14:59:32 +01:00

10 lines
261 B
Solidity

contract C {
function f() public pure {
assert(msg.sig == this.f.selector);
}
}
// ====
// SMTEngine: all
// ----
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.