blob: b483346d1442a59b802b6a47ea0f68b83fd13a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [{"tool": { "driver": { "name": "example" } },
"results": [],
"graphs": [{"nodes": [],
"edges": [{"id": "edge0",
"sourceNodeId": "this-does-not-exist", /* { dg-error "no node with id 'this-does-not-exist' in graph \\\[SARIF v2.1.0 ยง3.41.4\\\]" } */
"targetNodeId": "neither-does-this"}]}]}]}
/* { dg-begin-multiline-output "" }
In JSON property '/runs/0/graphs/0/edges/0/sourceNodeId':
{ dg-end-multiline-output "" } */
/* { dg-begin-multiline-output "" }
7 | "sourceNodeId": "this-does-not-exist",
| ^~~~~~~~~~~~~~~~~~~~~
{ dg-end-multiline-output "" } */
|