1 /* { dg-additional-options "-Wno-analyzer-too-complex" } */
3 #include "../../gcc.dg/analyzer/analyzer-decls.h"
9 epystr_explode(const char *delim
, char *str
)
14 if (str
== NULL
|| delim
== NULL
)
17 out
= (char **) __builtin_malloc(LEN
* sizeof(char *));
21 for (i
= 0; i
< LEN
; i
++) {
22 out
[i
] = __builtin_strdup("bla");
23 if (out
[i
] == NULL
) /* { dg-bogus "leak" } */
30 __builtin_free(out
[i
]);