solidity/test/libsolidity/syntaxTests/events/double_event_declaration.sol

7 lines
159 B
Solidity

contract test {
event A(uint i);
event A(uint i);
}
// ----
// DeclarationError 5883: (20-36): Event with same name and parameter types defined twice.