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