1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s 3*f4a2713aSLionel Sambuc// rdar://8881826 4*f4a2713aSLionel Sambuc// rdar://9423507 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc@interface I 7*f4a2713aSLionel Sambuc{ 8*f4a2713aSLionel Sambuc id ivar; 9*f4a2713aSLionel Sambuc} 10*f4a2713aSLionel Sambuc- (id) Meth; 11*f4a2713aSLionel Sambuc@end 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc@implementation I 14*f4a2713aSLionel Sambuc- (id) Meth { 15*f4a2713aSLionel Sambuc @autoreleasepool { 16*f4a2713aSLionel Sambuc } 17*f4a2713aSLionel Sambuc return 0; 18*f4a2713aSLionel Sambuc} 19*f4a2713aSLionel Sambuc@end 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambuc// CHECK-NOT: call i8* @objc_getClass 22*f4a2713aSLionel Sambuc// CHECK: call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 23*f4a2713aSLionel Sambuc// CHECK: call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 24*f4a2713aSLionel Sambuc// CHECK: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 25