warp
warp copied to clipboard
dynamic arrays
The code should compile:
pragma solidity ^0.8.6;
//SPDX-License-Identifier: MIT
contract WARP {
function uint8new() pure public {
uint8[] memory x = new uint8[](2);
}
}