solidity/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
2018-06-06 15:41:41 +01:00

6 lines
129 B
Solidity

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