aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/disabling.c
blob: a696d1e021e0611006f2f366d90cd2ca1734021e (plain)
1
2
3
4
5
6
7
8
9
10
/* Verify that we can override -fanalyzer with -fno-analyzer.  */
/* { dg-additional-options "-fno-analyzer" } */

#include <stdlib.h>

void test (void *ptr)
{
  free (ptr);
  free (ptr); /* { dg-bogus "free" } */
}