mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
244 B
Solidity
9 lines
244 B
Solidity
pragma experimental SMTChecker;
|
|
contract C {
|
|
function f() public payable {
|
|
assert(msg.value > 0);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6328: (78-99): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nC.constructor()\nC.f()
|