[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / forward-class-redeclare.m
blob80dc335362801e94bf4dc19283b5caff0726bddd
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // rdar://10733000
4 @interface NSObject @end
6 @protocol PLAssetContainer
7 @property (readonly, nonatomic, retain) id assets;
8 @end
11 typedef NSObject <PLAssetContainer> PLAlbum; // expected-note {{previous definition is here}}
13 @class PLAlbum; // expected-warning {{redefinition of forward class 'PLAlbum' of a typedef name of an object type is ignore}}
15 @interface PLPhotoBrowserController
17     PLAlbum *_album;
19 @end
21 @interface WPhotoViewController:PLPhotoBrowserController
22 @end
24 @implementation WPhotoViewController
25 - (void)_prepareForContracting
27   (void)_album.assets;
29 @end