solidity/test/libsolidity/syntaxTests/controlFlow/unreachableCode/double_revert.sol
2019-01-10 10:36:50 +01:00

9 lines
135 B
Solidity

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