aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/sarif-output/include-chain-2.h
blob: f60fb331d470623dbecf2a7cf1d71f4294b8b9f8 (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
}