| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-fdiagnostics-format=json" } */ |
| 3 |
|
| 4 |
#error message |
| 5 |
|
| 6 |
/* { dg-begin-multiline-output "" } |
| 7 |
[{"kind": "error", |
| 8 |
"message": "#error message", |
| 9 |
"children": [], |
| 10 |
"column-origin": 1, |
| 11 |
"locations": [{"caret": {"file": |
| 12 |
"line": 4, |
| 13 |
"display-column": 2, |
| 14 |
"byte-column": 2, |
| 15 |
"column": 2}, |
| 16 |
"finish": {"file": |
| 17 |
"line": 4, |
| 18 |
"display-column": 6, |
| 19 |
"byte-column": 6, |
| 20 |
"column": 6}}], |
| 21 |
"escape-source": false}] |
| 22 |
{ dg-end-multiline-output "" } */ |