Debian Codegraph @

gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.33.3-index-out-of-range.sarif

raw
1 {
2 "version": "2.1.0",
3 "runs": [
4 {
5 "tool": {
6 "driver": {
7 "name": "placeholder"
8 }
9 },
10 "results": [
11 {
12 "message": {"text": "placeholder"},
13 "locations": [
14 {
15 "logicalLocations": [
16 {
17 "index": 42 // { dg-error "index value 42 is out of range for theRun.logicalLocations \\\[SARIF v2.1.0 ยง3.33.3\\\]" }
18 }
19 ]
20 }
21 ]
22 }
23 ],
24 "logicalLocations": []
25 }
26 ]
27 }
28
29 /* { dg-begin-multiline-output "" }
30 17 | "index": 42
31 | ^~
32 { dg-end-multiline-output "" } */