summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/objc-categories.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/objc-categories.m')
-rw-r--r--clang/test/Modules/objc-categories.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Modules/objc-categories.m b/clang/test/Modules/objc-categories.m
index 340f279adf3..b26759239dd 100644
--- a/clang/test/Modules/objc-categories.m
+++ b/clang/test/Modules/objc-categories.m
@@ -12,6 +12,7 @@
// in category_left.h: expected-note {{previous definition}}
+// in category_right.h: expected-warning@11 {{duplicate definition of category}}
@interface Foo(Source)
-(void)source;
OpenPOWER on IntegriCloud