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:
parent
5a30a3aba0
commit
c5f541e40a
1 changed files with 2 additions and 0 deletions
2
gcc/testsuite/sarif-replay.dg/malformed-json/empty.sarif
Normal file
2
gcc/testsuite/sarif-replay.dg/malformed-json/empty.sarif
Normal file
|
@ -0,0 +1,2 @@
|
|||
/* Empty file (apart from these comments). */
|
||||
/* { dg-error "expected a JSON value but got EOF" "" { target *-*-* } 3 } */
|
Loading…
Add table
Reference in a new issue