1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s 2 3// rdar : // 8093297 4 5@interface Foo @end 6 7@protocol Proto 8@property (readonly) int proto_property; 9@end 10 11@interface Foo (Category) <Proto> @end 12 13@implementation Foo (Category) 14-(int)proto_property { return 0; } 15@end 16 17 18// CHECK: _OBJC_$_PROP_LIST_Foo_$_Category" = internal global 19// CHECK: _OBJC_$_CATEGORY_Foo_$_Category" = internal global 20// CHECK: _OBJC_$_PROP_LIST_Foo_$_Category 21