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







                                                                         
contract test {
    function f() public {
        fixed[3] memory a = [fixed(3.5), fixed(-4.25), fixed(967.125)];
    }
}
// ----
// Warning: (50-67): Unused local variable.
// Warning: (20-119): Function state mutability can be restricted to pure