solidity/test/libsolidity/syntaxTests/constants/struct_constant.sol
2022-01-17 13:35:07 +01:00

5 lines
137 B
Solidity

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