Sign in
llvm
/
llvm-project
/
41d59a36459ea99ada4819a26072366f77484f87
/
.
/
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
;
}