home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
splint3s.zip
/
splint-3.0.1.6
/
test
/
release.c
< prev
next >
Wrap
Text File
|
2000-06-12
|
294b
|
27 lines
/*@only@*/ /*@null@*/ int *f(void)
{
int *x = NULL;
int *z;
if (3 > 4)
{
int *y1 = malloc (sizeof (int));
int *y2 = malloc (sizeof (int));
if (y1 != NULL)
{
*y1 = 3;
}
if (y2 != NULL)
{
*y2 = 3;
}
x = y1;
z = y2;
}
return x;
}