aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/314_fixed_type_zero_handling.sol
blob: 5f0d2909ff7f2a83a791239699b6db5b67753151 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                         
contract test {
    function f() public {
        fixed16x2 a = 0; a;
        ufixed32x1 b = 0; b;
    }
}
// ----
// Warning: (20-104): Function state mutability can be restricted to pure