brintos

brintos / llvm-project-archived public Read only

0
0
Text · 546 B · e379d86 Raw
18 lines · plain
1// RUN: %clang_cc1 -no-enable-noundef-analysis -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -no-enable-noundef-analysis -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s3 4@interface TestClass5@property (readonly) int myProperty;6- (int)myProperty;7- (double)myGetter;8@end9 10void FUNC (void) {11    TestClass *obj;12    (void)obj.myProperty; 13    (void)obj.myGetter; 14}15 16// CHECK: call i3217// CHECK: call double18