Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
malloc-3.c
blob: becdafa7082c21ab4cd0d9492b9d01cb63a7fe2e [
file
] [
log
] [
blame
]
/* { dg-skip-if "requires hosted libstdc++ for stdlib malloc" { ! hostedlib } } */
#include
<stdlib.h>
/* Don't complain about leaks due to exiting from "main". */
int
main
(
void
)
{
void
*
p
=
malloc
(
1024
);
return
0
;
}