repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
OpenMP/C++: Store location in cp_parser_omp_var_list for kind=0
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
diagnostic-format-json-1.c
blob
c95218c3cfe3c06da7dda7b0d1333b246738d351
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 "" } */