repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++20] [Modules] Fix may-be incorrect ADL for module local entities (#123931)
[llvm-project.git]
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
aligned_alloc.c
blob
12af18dd32a17fbbfc622fe161567b8a0a292c87
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
}