mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
451 B
Solidity
11 lines
451 B
Solidity
contract test {
|
|
struct s { uint a; uint b;}
|
|
function f() pure public returns (byte) {
|
|
s[75555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555];
|
|
s[7];
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// TypeError 7407: (101-241): Type int_const 7555...(132 digits omitted)...5555 is not implicitly convertible to expected type uint256. Literal is too large to fit in uint256.
|