1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o - %s | FileCheck %s
6 struct Coerce coerce_func(void);
8 // CHECK-LABEL: define{{.*}} void @Coerce_test()
9 void Coerce_test(void) {
12 // CHECK: call i8* @coerce_func
13 // CHECK: call i8* @objc_memmove_collectable(
22 struct Indirect indirect_func(void);
24 // CHECK-LABEL: define{{.*}} void @Indirect_test()
25 void Indirect_test(void) {
28 // CHECK: call void @indirect_func(%struct.Indirect* sret
29 // CHECK: call i8* @objc_memmove_collectable(