gcc/testsuite/gcc.dg/analyzer/fdump-analyzer-1.c
raw| 1 | /* { dg-additional-options "-fdump-analyzer" } */ |
| 2 | |
| 3 | void test (void) |
| 4 | { |
| 5 | } |
| 6 | |
| 7 | /* Verify that we log the named constants that we look up in the TU |
| 8 | (before the analysis pass runs). |
| 9 | { dg-final { scan-file fdump-analyzer-1.c.analyzer.txt "maybe_stash_named_constant: name: 'O_ACCMODE'" } } |
| 10 | |
| 11 | Verify that we log the main part of the analysis (part of the |
| 12 | analysis pass): |
| 13 | { dg-final { scan-file fdump-analyzer-1.c.analyzer.txt "ana::run_checkers" } } |
| 14 | */ |