[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / memalign-libcall.c
blob2070eebdbf847164497e3e6f932e1a9c159bc35a
1 // RUN: %clang_cc1 -fno-builtin-memalign -emit-llvm < %s | FileCheck %s
3 typedef __SIZE_TYPE__ size_t;
5 void *memalign(size_t, size_t);
7 void *test(size_t alignment, size_t size) {
8 // CHECK: call ptr @memalign{{.*}} #2
9 return memalign(alignment, size);
12 // CHECK: attributes #2 = { nobuiltin "no-builtin-memalign" }