mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
210 B
Solidity
8 lines
210 B
Solidity
contract c {
|
|
uint[] a;
|
|
uint[80] b;
|
|
function f() public { b = a; }
|
|
}
|
|
// ----
|
|
// TypeError: (73-74): Type uint256[] storage ref is not implicitly convertible to expected type uint256[80] storage ref.
|