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