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

9 lines
150 B
Solidity
Raw Normal View History

2019-01-08 18:33:46 +00:00
contract C {
function f() public pure returns (uint) {
return 0;
return 0;
}
}
// ----
// Warning: (85-93): Unreachable code.