Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
poolalloc
/
test
/
dsa
/
td
/
testcase.c
blob: 7f03910a9a7dc99fe50d37a9b1191ca7bf08cc00 [
file
] [
log
] [
blame
]
//--Make sure we can run DSA on it!
//RUN: clang %s -c -emit-llvm -o - | \
//RUN: dsaopt -dsa-bu -dsa-td -disable-output
#include
<stdlib.h>
static
int
*
test
()
{
int
*
a2
=
(
int
*)
malloc
(
sizeof
(
int
));
return
a2
;
}
void
func
()
{
int
*
a1
=
test
();
}