brintos

brintos / llvm-project-archived public Read only

0
0
Text · 464 B · c4c0840 Raw
23 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s3 4@interface I5{6  id ivar;7}8- (id) Meth;9@end10 11@implementation I12- (id) Meth {13   @autoreleasepool {14   }15  return 0;16}17@end18 19// CHECK-NOT: call ptr @objc_getClass20// CHECK: call ptr @objc_msgSend21// CHECK: call ptr @objc_msgSend22// CHECK: call void @objc_msgSend23