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

9 lines
140 B
Solidity

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