aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sarif-output/include-chain-2.h
blob: 382ac026fe043865dabd09cc96c99fe5967d49ee (plain)
1
2
3
4
5
6
7
/* Generate a warning with a diagnostic_path within a header.  */

void test (void *ptr)
{
  __builtin_free (ptr); // 1st
  __builtin_free (ptr); // 2nd
}