diff options
Diffstat (limited to 'test/Modules/Inputs/category_right.h')
-rw-r--r-- | test/Modules/Inputs/category_right.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Modules/Inputs/category_right.h b/test/Modules/Inputs/category_right.h new file mode 100644 index 0000000000000..d993b50db4bfd --- /dev/null +++ b/test/Modules/Inputs/category_right.h @@ -0,0 +1,12 @@ +@__experimental_modules_import category_top; + +@interface Foo(Right1) +-(void)right1; +@end + +@interface Foo(Right2) +-(void)right2; +@end + +@interface Foo(Duplicate) // expected-warning {{duplicate definition of category}} +@end |