# RUN: clangd -input-style=delimited -sync < %s 2>&1 | FileCheck %s | |
# RUN: clangd -lit-test -sync < %s 2>&1 | FileCheck %s | |
# | |
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}} | |
--- | |
{"jsonrpc":"2.0","id":3,"method":"shutdown"} | |
--- | |
{"jsonrpc":"2.0","method":"exit"} | |
# CHECK-NOT: JSON parse error |