solidity/test/libsolidity/syntaxTests/viewPureChecker/call_internal_functions_success.sol

14 lines
494 B
Solidity
Raw Normal View History

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(); }
}
// ----
2021-06-04 08:59:03 +00:00
// Warning 5740: (102-105): Unreachable code.
// Warning 5740: (140-143): Unreachable code.
// Warning 5740: (145-148): Unreachable code.
// Warning 5740: (191-194): Unreachable code.
// Warning 5740: (196-199): Unreachable code.
// Warning 5740: (201-204): Unreachable code.