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

9 lines
140 B
Solidity
Raw Normal View History

2019-01-08 18:33:46 +00:00
contract C {
function f() public pure {
revert();
uint a = 0; a;
}
}
// ----
// Warning: (70-83): Unreachable code.