Fix GCC build problem with 288f05f related to SmallVector. (#116958)
[llvm-project.git] / mlir / test / mlir-pdll / Parser / directive-failure.pdll
blob14f8db8aa5e2e37a145027df7e5c0a863807429a
1 // RUN: not mlir-pdll %s -split-input-file 2>&1  | FileCheck %s
3 // CHECK: unknown directive `#foo`
4 #foo
6 // -----
8 //===----------------------------------------------------------------------===//
9 // Include
10 //===----------------------------------------------------------------------===//
12 // CHECK: expected string file name after `include` directive
13 #include <>
15 // -----
17 // CHECK: unable to open include file `unknown_file.pdll`
18 #include "unknown_file.pdll"
20 // -----
22 // CHECK: expected include filename to end with `.pdll` or `.td`
23 #include "unknown_file.foo"