solidity/test/libsolidity/syntaxTests/iceRegressionTests/const_struct_with_mapping.sol

9 lines
242 B
Solidity
Raw Normal View History

contract C {
struct S {
mapping(uint => uint) c;
}
S public constant e = 0x1212121212121212121212121212121212121212;
}
// ----
2022-01-12 15:30:04 +00:00
// TypeError 9259: (71-135): Only constants of value type and byte array type are implemented.