solidity/test/libsolidity/syntaxTests/inline_arrays/dynamic_inline_array.sol
2018-11-29 19:49:38 +01:00

9 lines
264 B
Solidity

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