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

9 lines
161 B
Solidity

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