Debian Codegraph @

gcc/testsuite/gcc.dg/plugin/crash-test-ice-in-header-sarif-2.2.c

raw
1 /* Test of an ICE triggered within a header file with SARIF 2.2 */
2
3 /* { dg-do compile } */
4 /* { dg-options "-fdiagnostics-set-output=sarif:version=2.2-prerelease" } */
5 /* { dg-additional-options "-fno-report-bug" } */
6
7 #include "crash-test-ice-in-header.h" /* { dg-ice "" } */
8 /* { dg-regexp "during GIMPLE pass: crash_test" } */
9
10 /* Verify that some JSON was written to a file with the expected name. */
11 /* { dg-final { verify-sarif-file "2.2" } }
12
13 { dg-final { run-sarif-pytest crash-test-ice-in-header-sarif-2.2.c "crash-test-ice-in-header-sarif-2_2.py" } } */