f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
10 lines
339 B
Objective-C
10 lines
339 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -emit-llvm -o - %s | FileCheck %s
|
|
|
|
void *memcpy(void *restrict s1, const void *restrict s2, unsigned long n);
|
|
|
|
// PR13697
|
|
void test1(int *a, id b) {
|
|
// CHECK: @test1
|
|
// CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 8, i32 1, i1 false)
|
|
memcpy(a, b, 8);
|
|
}
|