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