1// RUN: %clang -std=c11 -O0 %s -o %t && %run %t
2#include <stdlib.h>
3extern void *aligned_alloc (size_t alignment, size_t size);
4int main() {
5 volatile void *p = aligned_alloc(alignment: 128, size: 1024);
6 free(ptr: (void*)p);
7 return 0;
8}
9

source code of compiler-rt/test/sanitizer_common/TestCases/Linux/aligned_alloc.c