blob: ae2a4583629bb9a52349cc9bc547ebbffa442733 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// 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
Fariborz Jahanian699c0602010-09-04 19:49:18 +00003
4// rdar: // 8399655
5@interface TestClass
6@property (readonly) int myProperty;
7- (int)myProperty;
8- (double)myGetter;
9@end
10
11void FUNC () {
12 TestClass *obj;
13 (void)obj.myProperty;
14 (void)obj.myGetter;
15}
16
17// CHECK: call i32 bitcast
18// CHECK: call double bitcast