solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/345_unused_return_value.sol

9 lines
186 B
Solidity
Raw Normal View History

contract test {
function g() public returns (uint) {}
function f() public {
g();
}
}
// ----
// Warning: (20-57): Function state mutability can be restricted to pure