llvm/mlir/test/mlir-pdll-lsp-server/exit-eof.test
River Riddle 52b34df9d6 [mlir][PDLL] Add an initial language server for PDLL
This commits adds a basic language server for PDLL to enable providing
language features in IDEs such as VSCode. This initial commit only
adds support for tracking definitions, references, and diagnostics, but
followup commits will build upon this to provide more significant behavior.

In addition to the server, this commit also updates mlir-vscode to support
the PDLL language and invoke the server.

Differential Revision: https://reviews.llvm.org/D121541
2022-03-19 13:28:23 -07:00

8 lines
261 B
Plaintext

// RUN: not mlir-pdll-lsp-server < %s 2> %t.err
// RUN: FileCheck %s < %t.err
//
// No LSP messages here, just let mlir-pdll-lsp-server see the end-of-file
// CHECK: Transport error:
// (Typically "Transport error: Input/output error" but platform-dependent).