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

9 lines
162 B
Solidity

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