diff options
Diffstat (limited to 'clang/test/Modules/Inputs/category_right.h')
-rw-r--r-- | clang/test/Modules/Inputs/category_right.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/category_right.h b/clang/test/Modules/Inputs/category_right.h new file mode 100644 index 0000000..d993b50 --- /dev/null +++ b/clang/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 |