brintos

brintos / llvm-project-archived public Read only

0
0
Text · 328 B · ed78d2f Raw
11 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -emit-llvm -o - %s | FileCheck %s2 3void *memcpy(void *restrict s1, const void *restrict s2, unsigned long n);4 5// PR136976void test1(int *a, id b) {7  // CHECK: @test18  // CHECK: call void @llvm.memcpy.p0.p0.i64(ptr {{.*}}, ptr {{.*}}, i64 8, i1 false)9  memcpy(a, b, 8);10}11