solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/587_event_param_type_outside_storage.sol
2020-06-30 16:53:41 +05:30

8 lines
421 B
Solidity

contract c {
event e(uint indexed a, mapping(uint => uint) indexed b, bool indexed c, uint indexed d, uint indexed e) anonymous;
}
// ----
// TypeError 3448: (41-72): Type containing a (nested) mapping is not allowed as event parameter type.
// TypeError 3417: (41-72): Internal or recursive type is not allowed as event parameter type.
// TypeError 8598: (17-132): More than 4 indexed arguments for anonymous event.