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