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