aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inline_arrays/dynamic_inline_array.sol
blob: e613758b552d04c9be84ad66d5dee6a7a67ef437 (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public {
        uint8[4][4] memory dyn = [[1, 2, 3, 4], [2, 3, 4, 5], [3, 4, 5, 6], [4, 5, 6, 7]];
    }
}
// ----
// Warning: (47-69): Unused local variable.
// Warning: (17-135): Function state mutability can be restricted to pure