Debian Codegraph @

gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.11.11-missing-arguments-for-placeholders.sarif

raw
1 {
2 "version": "2.1.0",
3 "runs": [{
4 "tool": { "driver": { "name": "example" } },
5 "results": [
6 { "message": { "text" : "the {0} {1} fox jumps over the {2} dog" } } /* { dg-error "message string contains placeholder '\\{0\\}' but message object has no 'arguments' property \\\[SARIF v2.1.0 ยง3.11.11\\\]" } */
7 ]
8 }]
9 }
10
11 /* { dg-begin-multiline-output "" }
12 6 | { "message": { "text" : "the {0} {1} fox jumps over the {2} dog" } }
13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 { dg-end-multiline-output "" } */