solidity/test/libsolidity/syntaxTests/controlFlow/unreachableCode/revert_empty.sol

9 lines
167 B
Solidity

contract C {
function f() public pure {
revert();
for(int i = 0; i < 3; i++) { f(); }
}
}
// ----
// Warning 5740: (70-105): Unreachable code.