1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-skip-if "requires hosted libstdc++ for stdlib free" { ! hostedlib } } */ /* 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" } */ }