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