1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
8 @property (readonly) int proto_property;
11 @interface Foo (Category) <Proto> @end
13 @implementation Foo (Category)
14 -(int)proto_property { return 0; }
18 // CHECK: l_OBJC_$_PROP_LIST_Foo_$_Category" = internal global
19 // CHECK: l_OBJC_$_CATEGORY_Foo_$_Category" = internal global
20 // CHECK: l_OBJC_$_PROP_LIST_Foo_$_Category