Sign in
llvm
/
llvm-project
/
cf3422d3df5b00d771bba837b9f51f67ab07eb64
/
.
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
aligned_alloc.c
blob: 12af18dd32a17fbbfc622fe161567b8a0a292c87 [
file
] [
log
] [
blame
]
// RUN: %clang -std=c11 -O0 %s -o %t && %run %t
#include
<stdlib.h>
extern
void
*
aligned_alloc
(
size_t
alignment
,
size_t
size
);
int
main
()
{
volatile
void
*
p
=
aligned_alloc
(
128
,
1024
);
free
((
void
*)
p
);
return
0
;
}