mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
164 B
Solidity
9 lines
164 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
// a plain literal constant is fine
|
||
|
contract C {
|
||
|
function f(uint) public pure {
|
||
|
if (true) { revert(); }
|
||
|
}
|
||
|
}
|
||
|
// ----
|