solidity/test/libsolidity/syntaxTests/controlFlow/unreachableCode/double_revert.sol
2022-04-01 23:41:18 -05:00

9 lines
151 B
Solidity

contract C {
function f() public pure {
revert();
revert();
}
}
// ----
// Warning 5740: (70-78='revert()'): Unreachable code.