mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
453 B
Solidity
10 lines
453 B
Solidity
contract C {
|
|
function f() public {
|
|
bytes32 b;
|
|
b[888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 7407: (58-169): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256. Literal is too large to fit in uint256.
|
|
// TypeError 6318: (56-170): Index expression cannot be represented as an unsigned integer.
|