[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang-tools-extra / clangd / test / test-uri-windows.test
blob8c8d04824538a022e4bc828351c05365ac636f54
1 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
2 # REQUIRES: target={{.*-windows-(gnu|msvc)}}
3 # Test authority-less URI
4 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
5 ---
6 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","languageId":"c","version":1,"text":"void main() {}"}}}
7 # CHECK:    "uri": "file:///C:/clangd-test/foo.c"
8 ---
9 {"jsonrpc":"2.0","id":5,"method":"shutdown"}
10 ---
11 {"jsonrpc":"2.0","method":"exit"}