12 lines · plain
1# RUN: clangd -input-style=delimited -sync -input-mirror-file %t < %s2# RUN: grep '{"jsonrpc":"2.0","id":3,"method":"exit"}' %t3#4# RUN: clangd -lit-test -input-mirror-file %t < %s5# RUN: grep '{"jsonrpc":"2.0","id":3,"method":"exit"}' %t6#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"}12