blob: 0a17846685cd58d931d6fe5bc72639afdf9c2506 [file] [log] [blame]
// RUN: clang -fsyntax-only -verify %s
@interface Super @end
@interface MyWpModule @end
@compatibility_alias MyAlias MyWpModule;
@compatibility_alias AliasForSuper Super;
@interface MyAlias : AliasForSuper // expected-error {{duplicate interface declaration for class 'MyWpModule'}}
@end
@implementation MyAlias : AliasForSuper
@end