1 // REQUIRES: !system-windows
4 // RUN: split-file %s %t
7 // RUN: %clang_cc1 -std=c++20 -O3 %t/a.cppm -emit-module-interface -o %t/a.pcm
8 // RUN: %clang_cc1 -std=c++20 -O3 %t/test.cc -fmodule-file=a=%t/a.pcm \
9 // RUN: -emit-llvm -o - | FileCheck %t/test.cc
12 typedef long unsigned int size_t;
13 extern "C" void *memmove (void *__dest, const void *__src, size_t __n)
14 throw () __attribute__ ((__nonnull__ (1, 2)));
15 extern "C" __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) void *
16 memmove (void *__dest, const void *__src, size_t __len) throw ()
18 return __builtin_memmove(__dest, __src, __len);
25 export using ::memmove;