aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/smoke_test.sol
blob: 2d48098a1d2da26d7c0f152d3885cad8094dcf13 (plain) (blame)
1
2
3
4
5
6
contract test {
    uint256 stateVariable1;
    function fun(uint256 arg1) public { uint256 y; y = arg1; }
}
// ----
// Warning: Function state mutability can be restricted to pure