☰
Debian Codegraph
@
1:21.1.8-7
1:21.1.8-13
1:21.1.8-12
1:21.1.8-11
1:21.1.8-10
/
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
aligned_alloc.c
☽
☼
compiler-rt/test/sanitizer_common/TestCases/Linux/aligned_alloc.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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);
4
int main() {
5
volatile void *p = aligned_alloc(128, 1024);
6
free((void*)p);
7
return 0;
8
}