[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / memccpy-libcall.c
blob8e1a708fcc6ff2edfdf0bca7452cc92dd2a49629
1 // RUN: %clang_cc1 -fno-builtin-memccpy -emit-llvm < %s| FileCheck %s
3 typedef __SIZE_TYPE__ size_t;
5 void *memccpy(void *, void const *, int, size_t);
7 void test13(char *d, char *s, int c, size_t n) {
8 // CHECK: call ptr @memccpy{{.*}} #2
9 memccpy(d, s, c, n);
12 // CHECK: attributes #2 = { nobuiltin "no-builtin-memccpy" }