Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/analyzer/malloc-5.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
#include <stdlib.h> void test (void) { void *p = malloc (sizeof (int)); if (!p) return; int *q = p; if (!q) return; free (q); }