12 lines · c
1// RUN: %clang_cc1 -fno-builtin-memalign -emit-llvm < %s | FileCheck %s2 3typedef __SIZE_TYPE__ size_t;4 5void *memalign(size_t, size_t);6 7void *test(size_t alignment, size_t size) {8 // CHECK: call ptr @memalign{{.*}} #29 return memalign(alignment, size);10}11 12// CHECK: attributes #2 = { nobuiltin "no-builtin-memalign" }