[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / method-in-class-extension-impl.m
blobd74ae8f154fde79365758830cf8a4b8e8dd3a2d0
1 // RUN: %clang_cc1  -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 // rdar://8530080
5 @protocol ViewDelegate @end
7 @interface NSTextView
8 - (id <ViewDelegate>)delegate;
9 @end
11 @interface FooTextView : NSTextView
12 @end
14 @interface FooTextView() 
15 - (id)delegate;
16 @end
18 @implementation FooTextView
19 - (id)delegate {return 0; }
20 @end