1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
3 // rdar://problem/9158302
4 // This should not use a memmove_collectable in non-GC mode.
10 // CHECK: define{{.*}} ptr @_ZN5test04testENS_1AE(
12 // CHECK-NEXT: getelementptr
14 // CHECK-NEXT: [[CALL:%.*]] = call noalias noundef nonnull ptr @_Znwm(
15 // CHECK-NEXT: call void @llvm.memcpy.p0.p0.i64(
28 template<typename T> struct RetainPtr {
33 RetainPtr<id<bork> > x;