solidity/test/libsolidity/syntaxTests/constants/struct_constant.sol
2022-04-01 23:41:18 -05:00

5 lines
152 B
Solidity

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