mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
216 B
Solidity
6 lines
216 B
Solidity
contract c {
|
|
function f() public { c[10] storage a = 7; uint8[10 * 2] storage x; }
|
|
}
|
|
// ----
|
|
// TypeError: (39-58): Type int_const 7 is not implicitly convertible to expected type contract c[10] storage pointer.
|