solidity/test/libsolidity/syntaxTests/constants/struct_constant.sol
2020-10-08 18:56:18 +02:00

6 lines
183 B
Solidity

struct S { uint x; }
S constant s;
// ----
// TypeError 9259: (21-33): Constants of non-value type not yet implemented.
// TypeError 4266: (21-33): Uninitialized "constant" variable.