mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
261 B
Solidity
10 lines
261 B
Solidity
pragma experimental SMTChecker;
|
|
// a plain literal constant is fine
|
|
contract C {
|
|
function f(uint) public pure {
|
|
if (true) { revert(); }
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 4588: (136-144): Assertion checker does not yet implement this type of function call.
|