blob: 41acb8e4a9ebe75cc862af5613c0fa12c6fef7c7 [file] [log] [blame]
/* APPLE LOCAL file 4689268 */
/* Check that compiler gracefully exits on duplicate implementaiton of
same class. */
@interface Foo
@end
@implementation Foo
- (void) bar { } /* { dg-error "previous definition of" } */
@end
@implementation Foo
- (void) bar { } /* { dg-error "reimplementation of class \'Foo\'" } */
/* { dg-error "redefinition of" "" { target *-*-* } 12 } */
@end