/* { dg-additional-options "-fdiagnostics-path-format=none -fanalyzer-verbosity=1" } */#include <stdlib.h>voidtwo_frees(void*p,void*q){free(p);free(q);/* { dg-warning "double-'free' of 'q'" } *//* TODO: could be useful to identify that p == q when called from 'test'. */}externvoiddo_stuff(void);voidtest(void*ptr){two_frees(ptr, ptr);}