summaryrefslogtreecommitdiff
path: root/test/SemaObjC/category-1.m
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-26 03:47:43 +0000
committerChris Lattner <sabre@nondot.org>2008-07-26 03:47:43 +0000
commiteacc39212e5960b2680067c006384c2e4804873a (patch)
treec07dc7b1c930c6abb52a71cbb3446e6299efba42 /test/SemaObjC/category-1.m
parente281c86515cca9162170ca5d6ede198acf343428 (diff)
downloadclang-eacc39212e5960b2680067c006384c2e4804873a.tar.gz
simplify some code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/category-1.m')
-rw-r--r--test/SemaObjC/category-1.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/category-1.m b/test/SemaObjC/category-1.m
index 15f6b166c5..1cae2300e0 100644
--- a/test/SemaObjC/category-1.m
+++ b/test/SemaObjC/category-1.m
@@ -4,7 +4,7 @@
@protocol p1,p2,p3;
-@interface MyClass1 (Category1) <p1> // expected-warning {{cannot find protocol definition for 'p1', referenced by 'Category1'}}
+@interface MyClass1 (Category1) <p1> // expected-warning {{cannot find protocol definition for 'p1'}}
@end
@interface MyClass1 (Category1) // expected-warning {{duplicate interface declaration for category 'MyClass1(Category1)'}}
@@ -27,7 +27,7 @@
@protocol p3 @end
-@interface MyClass1 (Category) <p2, p3> @end // expected-warning {{cannot find protocol definition for 'p2', referenced by 'Category'}}
+@interface MyClass1 (Category) <p2, p3> @end // expected-warning {{cannot find protocol definition for 'p2'}}
@interface MyClass (Category) @end // expected-error {{cannot find interface declaration for 'MyClass'}}