blob: dda15fc68bed8c81b699cac8182a5b4f31faef77 [file] [log] [blame]
/* Testing for detecting duplicate ivars. */
/* { dg-do compile } */
@interface A
{
char x; /* { dg-message "previous declaration" } */
char x;
} /* { dg-error "redeclaration" } */
@end
@interface B : A
{
char y;
}
@end