1# RUN: env CLANGD_FLAGS=-index-file=no-such-index not clangd -lit-test </dev/null 2>&1 >/dev/null | FileCheck %s
2CHECK: I[{{.*}}]{{.*}} clangd version {{.*}}
3CHECK: Working directory: {{.*}}
4CHECK: argv[0]: clangd
5CHECK: argv[1]: -lit-test
6CHECK: CLANGD_FLAGS: -index-file=no-such-index
7CHECK: E[{{.*}}] Can't open no-such-index
8CHECK: Starting LSP over stdin/stdout
9
10