mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-13 17:37:00 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
12 lines
322 B
C
12 lines
322 B
C
// RUN: %clang_cc1 -fno-builtin-memalign -emit-llvm < %s | FileCheck %s
|
|
|
|
typedef __SIZE_TYPE__ size_t;
|
|
|
|
void *memalign(size_t, size_t);
|
|
|
|
void *test(size_t alignment, size_t size) {
|
|
// CHECK: call ptr @memalign{{.*}} #2
|
|
return memalign(alignment, size);
|
|
}
|
|
|
|
// CHECK: attributes #2 = { nobuiltin "no-builtin-memalign" }
|