1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 @interface NSObject @end
6 @protocol PLAssetContainer
7 @property (readonly, nonatomic, retain) id assets;
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
21 @interface WPhotoViewController:PLPhotoBrowserController
24 @implementation WPhotoViewController
25 - (void)_prepareForContracting