1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface NSObject @end
5 @protocol PLAssetContainer
6 @property (readonly, nonatomic, retain) id assets;
10 typedef NSObject <PLAssetContainer> PLAlbum; // expected-note {{previous definition is here}}
12 @class PLAlbum; // expected-warning {{redefinition of forward class 'PLAlbum' of a typedef name of an object type is ignore}}
14 @interface PLPhotoBrowserController
20 @interface WPhotoViewController:PLPhotoBrowserController
23 @implementation WPhotoViewController
24 - (void)_prepareForContracting