1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
6 @property (readonly) int proto_property;
9 @interface Foo (Category) <Proto> @end
11 @implementation Foo (Category)
12 -(int)proto_property { return 0; }
16 // CHECK: _OBJC_$_PROP_LIST_Foo_$_Category" = internal global
17 // CHECK: _OBJC_$_CATEGORY_Foo_$_Category" = internal global
18 // CHECK: _OBJC_$_PROP_LIST_Foo_$_Category