aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/fdump-analyzer-1.c
blob: 8962adbf79ebcea17cb8af42bdc2763b529adf9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-additional-options "-fdump-analyzer" } */

void test (void)
{
}

/* Verify that we log the named constants that we look up in the TU
   (before the analysis pass runs).
     { dg-final { scan-file fdump-analyzer-1.c.analyzer.txt "maybe_stash_named_constant: name: 'O_ACCMODE'" } }

   Verify that we log the main part of the analysis (part of the
   analysis pass):
     { dg-final { scan-file fdump-analyzer-1.c.analyzer.txt "ana::run_checkers" } }
 */