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

9 lines
379 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 6321: (89-93): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.