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

9 lines
145 B
Solidity

contract C {
function f() public pure {
revert();
uint a = 0; a;
}
}
// ----
// Warning 5740: (70-83): Unreachable code.