mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
530 B
Solidity
14 lines
530 B
Solidity
contract C {
|
|
function g() pure public { g(); }
|
|
function f() view public returns (uint) { f(); g(); }
|
|
function h() public { h(); g(); f(); }
|
|
function i() payable public { i(); h(); g(); f(); }
|
|
}
|
|
// ----
|
|
// Warning 5740: (102-105='g()'): Unreachable code.
|
|
// Warning 5740: (140-143='g()'): Unreachable code.
|
|
// Warning 5740: (145-148='f()'): Unreachable code.
|
|
// Warning 5740: (191-194='h()'): Unreachable code.
|
|
// Warning 5740: (196-199='g()'): Unreachable code.
|
|
// Warning 5740: (201-204='f()'): Unreachable code.
|