summaryrefslogtreecommitdiff
path: root/test/SemaObjC/category-1.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r--test/SemaObjC/category-1.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m
index f8422782d78b3..a7e69651ade08 100644
--- a/test/SemaObjC/category-1.m
+++ b/test/SemaObjC/category-1.m
@@ -99,3 +99,12 @@
@class I; // expected-note {{forward declaration}}
@implementation I(cat) // expected-error{{cannot find interface declaration}}
@end
+
+// <rdar://problem/11478173>
+@interface Unrelated
+- foo;
+@end
+
+@interface Blah (Blarg) // expected-error{{cannot find interface declaration for 'Blah'}}
+- foo;
+@end