[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / pr3997.c
blob814144cd14d13555b4a97b0a7c58e850549b5307
1 // RUN: %clang_cc1 %s -triple i386-unknown-linux-gnu -mregparm 3 -emit-llvm -o - | FileCheck %s
3 void *memcpy(void *dest, const void *src, unsigned int n);
5 void use_builtin_memcpy(void *dest, const void *src, unsigned int n) {
6 __builtin_memcpy(dest, src, n);
9 void use_memcpy(void *dest, const void *src, unsigned int n) {
10 memcpy(dest, src, n);
13 //CHECK: !{i32 1, !"NumRegisterParameters", i32 3}