mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
309 B
Solidity
13 lines
309 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C {
|
|
function g() external pure {
|
|
}
|
|
|
|
function f() public pure {
|
|
assert(msg.sig == this.g.selector);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6328: (125-159): CHC: Assertion violation happens here.\nCounterexample:\n\n\n\n\nTransaction trace:\nconstructor()\nf()
|