mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 04:16:07 +00:00
11 lines
328 B
Objective-C
11 lines
328 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.p0.p0.i64(ptr {{.*}}, ptr {{.*}}, i64 8, i1 false)
|
|
memcpy(a, b, 8);
|
|
}
|