Sign in
llvm
/
llvm-archive
/
a0e6d55d029bd2b62e8c21c2a186ff71afceeb2e
/
.
/
poolalloc
/
test
/
dsa
/
td
/
testcase.c
blob: 90ccc4453b7d95fd3111ef27a263fadd20a5951f [
file
] [
log
] [
blame
]
//--Make sure we can run DSA on it!
//RUN: llvm-gcc %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
();
}