aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/suggest_pure.sol
blob: 87719eb3b1028087715a51f7dbfd73a3c3cd92bb (plain) (blame)
1
2
3
4
5
contract C {
    function g() view public { }
}
// ----
// Warning: (17-45): Function state mutability can be restricted to pure