Debian Codegraph @

gcc/testsuite/gcc.dg/analyzer/torture/pr102225.c

raw
1 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } { "" } } */
2
3 void bad_realloc(char *s, int n)
4 {
5 char *p = __builtin_realloc(s, n);
6 } /* { dg-warning "leak" } */