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