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

6 lines
129 B
Solidity
Raw Normal View History

contract C {
function g() view public { }
}
// ----
// Warning: (17-45): Function state mutability can be restricted to pure