mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
170 B
Solidity
7 lines
170 B
Solidity
contract C {
|
|
struct S { uint x; uint[] y; }
|
|
S constant x = S(5, new uint[](4));
|
|
}
|
|
// ----
|
|
// TypeError: (52-86): Constants of non-value type not yet implemented.
|