Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenObjC/property-section-attribute.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://15450637. @interface NSObject @end @interface Foo : NSObject @property int p __attribute__((section("__TEXT,foo"))); @end @implementation Foo @end // CHECK: define internal i32 @"\01-[Foo p]"({{.*}} section "__TEXT,foo" { // CHECK: define internal void @"\01-[Foo setP:]"({{.*}} section "__TEXT,foo" {