Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenObjC/property-category-impl.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s // rdar : // 8093297 @interface Foo @end @protocol Proto @property (readonly) int proto_property; @end @interface Foo (Category) <Proto> @end @implementation Foo (Category) -(int)proto_property { return 0; } @end // CHECK: _OBJC_$_PROP_LIST_Foo_$_Category" = internal global // CHECK: _OBJC_$_CATEGORY_Foo_$_Category" = internal global // CHECK: _OBJC_$_PROP_LIST_Foo_$_Category