sarif-replay: add testcase for empty input file

gcc/testsuite/ChangeLog:
	* sarif-replay.dg/malformed-json/empty.sarif: New test.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
David Malcolm 2025-02-20 17:10:54 -05:00
parent 5a30a3aba0
commit c5f541e40a

View file

@ -0,0 +1,2 @@
/* Empty file (apart from these comments). */
/* { dg-error "expected a JSON value but got EOF" "" { target *-*-* } 3 } */