summaryrefslogtreecommitdiffstats
path: root/clangd/test/exit-with-shutdown.test
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/test/exit-with-shutdown.test')
-rw-r--r--clangd/test/exit-with-shutdown.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/clangd/test/exit-with-shutdown.test b/clangd/test/exit-with-shutdown.test
new file mode 100644
index 00000000..99e412c7
--- /dev/null
+++ b/clangd/test/exit-with-shutdown.test
@@ -0,0 +1,6 @@
+# RUN: clangd -lit-test < %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"}