solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/173_constant_struct.sol

7 lines
175 B
Solidity

contract C {
struct S { uint x; uint[] y; }
S constant x = S(5, new uint[](4));
}
// ----
// TypeError 9259: (52-86): Constants of non-value type not yet implemented.