Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
analyzer
/
pr94458.c
blob: ad9bfc94ad4c450f48afc6892037146f4f5ceef9 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
struct
ret
{
int
**
array
;
};
struct
ret
*
allocate_stuff
(
void
)
{
struct
ret
*
ret
;
ret
=
calloc
(
1
,
sizeof
(
struct
ret
));
if
(!
ret
)
{
abort
();
}
ret
->
array
=
calloc
(
10
,
sizeof
(
int
*));
if
(!
ret
->
array
)
{
abort
();
}
return
ret
;
}