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

6 lines
183 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
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.