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

9 lines
156 B
Solidity

contract C {
function f() public pure {
if (false) {
return; // unreachable, but not yet detected
}
return;
}
}