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