Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/property-ref-cast-to-void.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 | c4bab56944e8 |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s |
2 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s | |
3 | |
4 // rdar: // 8399655 | |
5 @interface TestClass | |
6 @property (readonly) int myProperty; | |
7 - (int)myProperty; | |
8 - (double)myGetter; | |
9 @end | |
10 | |
11 void FUNC () { | |
12 TestClass *obj; | |
13 (void)obj.myProperty; | |
14 (void)obj.myGetter; | |
15 } | |
16 | |
17 // CHECK: call i32 bitcast | |
18 // CHECK: call double bitcast |