| 1 |
{"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json", |
| 2 |
"version": "2.1.0", |
| 3 |
"runs": [{"tool": {"driver": {"name": "hand-written"}}, |
| 4 |
"results": [{"message": {"text": "001: this is a test"}, |
| 5 |
"locations": []}, |
| 6 |
/* { dg-begin-multiline-output "" } |
| 7 |
hand-written: warning: 001: this is a test |
| 8 |
{ dg-end-multiline-output "" } */ |
| 9 |
|
| 10 |
/* Without the fix from https://github.com/oasis-tcs/sarif-spec/issues/656 */ |
| 11 |
{"message": {"text": "002: Prohibited term used in [para\\[0\\]\\\\spans\\[2\\](1)."}, |
| 12 |
"locations": []}, |
| 13 |
/* { dg-begin-multiline-output "" } |
| 14 |
hand-written: warning: 002: Prohibited term used in [para\[0\]\\spans\[2\](1). |
| 15 |
{ dg-end-multiline-output "" } */ |
| 16 |
|
| 17 |
/* With the fix from https://github.com/oasis-tcs/sarif-spec/issues/656 */ |
| 18 |
{"message": {"text": "003: Prohibited term used in [para\\[0\\]\\\\spans\\[2\\]](1)."}, |
| 19 |
"locations": []} |
| 20 |
/* { dg-begin-multiline-output "" } |
| 21 |
hand-written: warning: 003: Prohibited term used in para[0]\spans[2]. |
| 22 |
{ dg-end-multiline-output "" } */ |
| 23 |
|
| 24 |
]}]} |
| 25 |
|