aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/smoke_test.sol
blob: 6abaff183c3a3ea7a8264de487ec6ac881989231 (plain) (tree)
1
2
3
4
5
6




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