libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / plugin / crash-test-ice-in-header-sarif-2.1.c
blob823bbe43a1c0b018a788a2f7060491c8c19ef5db
1 /* Test of an ICE triggered within a header file with SARIF 2.1 */
3 /* { dg-do compile } */
4 /* { dg-options "-fdiagnostics-format=sarif-file" } */
5 /* { dg-additional-options "-fno-report-bug" } */
7 #include "crash-test-ice-in-header.h" /* { dg-ice "" } */
8 /* { dg-regexp "during GIMPLE pass: crash_test" } */
10 /* Verify that some JSON was written to a file with the expected name. */
11 /* { dg-final { verify-sarif-file "2.1" } }
13 { dg-final { run-sarif-pytest crash-test-ice-in-header-sarif-2.1.c "crash-test-ice-in-header-sarif-2_1.py" } } */