// RUN: %clang_analyze_cc1 -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify %s
void *;
void *;
void ;
void *;
void *;
void *;
void ;
void *;
size_t ;
static void
static void *
static void
static void // expected-warning {{Potential leak of memory pointed to by 'data'}}
static void
static void // expected-warning {{Potential leak of memory pointed to by 'data'}}
static void
int
void
// TODO: We should warn here.
void
static char *
void
// Test that we keep processing after 'return;'
void
int
// If we inline any of the malloc-family functions, the checker shouldn't also
// try to do additional modeling. <rdar://problem/12317671>
char *
void