llvm-project/clang-tools-extra/clangd/test/delimited-input-comment-at-the-end.test
raw| 1 | # RUN: clangd -input-style=delimited -sync -input-mirror-file %t < %s |
| 2 | # RUN: grep '{"jsonrpc":"2.0","id":3,"method":"exit"}' %t |
| 3 | # |
| 4 | # RUN: clangd -lit-test -input-mirror-file %t < %s |
| 5 | # RUN: grep '{"jsonrpc":"2.0","id":3,"method":"exit"}' %t |
| 6 | # |
| 7 | {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} |
| 8 | --- |
| 9 | {"jsonrpc":"2.0","id":3,"method":"shutdown"} |
| 10 | --- |
| 11 | {"jsonrpc":"2.0","method":"exit"} |