solidity/test/libsolidity/syntaxTests/constants/struct_constant.sol

5 lines
133 B
Solidity

struct S { uint x; }
S constant s;
// ----
// TypeError 9259: (21-33): Only constants of value type and byte arrays are implemented.