2012-03-02 06:07:04 +08:00
|
|
|
@__experimental_modules_import category_top;
|
2011-11-16 23:22:03 +08:00
|
|
|
|
|
|
|
@interface Foo(Right1)
|
|
|
|
-(void)right1;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface Foo(Right2)
|
|
|
|
-(void)right2;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface Foo(Duplicate) // expected-warning {{duplicate definition of category}}
|
|
|
|
@end
|