1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -emit-llvm -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucvoid *memcpy(void *restrict s1, const void *restrict s2, unsigned long n); 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc// PR13697 6*f4a2713aSLionel Sambucvoid test1(int *a, id b) { 7*f4a2713aSLionel Sambuc // CHECK: @test1 8*f4a2713aSLionel Sambuc // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 8, i32 1, i1 false) 9*f4a2713aSLionel Sambuc memcpy(a, b, 8); 10*f4a2713aSLionel Sambuc} 11