diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/SemaObjC/method-undef-category-warn-1.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/method-undef-category-warn-1.m b/clang/test/SemaObjC/method-undef-category-warn-1.m index dace8ab2949..7f360499231 100644 --- a/clang/test/SemaObjC/method-undef-category-warn-1.m +++ b/clang/test/SemaObjC/method-undef-category-warn-1.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -@interface MyClass1 // expected-note 2 {{required for direct or indirect protocol 'P'}} +@interface MyClass1 @end @protocol P @@ -8,7 +8,7 @@ - (void) Pmeth1; // expected-note {{method definition for 'Pmeth1' not found}} @end -@interface MyClass1(CAT) <P> +@interface MyClass1(CAT) <P> // expected-note {{required for direct or indirect protocol 'P'}} - (void) meth2; // expected-note {{method definition for 'meth2' not found}} @end @@ -16,7 +16,7 @@ - (void) Pmeth1{} @end -@interface MyClass1(DOG) <P> +@interface MyClass1(DOG) <P> // expected-note {{required for direct or indirect protocol 'P'}} - (void)ppp; // expected-note {{method definition for 'ppp' not found}} @end |

