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

14 lines
328 B
Solidity
Raw Normal View History

2021-09-27 14:55:59 +00:00
contract C {
function f() public payable {
assert((msg).value == 10);
assert((true ? msg : msg).value == 12);
}
}
// ====
// SMTEngine: all
// SMTIgnoreOS: macos
// SMTIgnoreCex: yes
2021-09-27 14:55:59 +00:00
// ----
// Warning 6328: (46-71): CHC: Assertion violation happens here.
// Warning 6328: (75-113): CHC: Assertion violation happens here.