solidity/test/libsolidity/syntaxTests/smoke_test.sol
2020-01-08 16:12:06 +01:00

7 lines
188 B
Solidity

contract test {
uint256 stateVariable1;
function fun(uint256 arg1) public { uint256 y; y = arg1; }
}
// ----
// Warning: (42-100): Function state mutability can be restricted to "pure".