// RUN: mlir-pdll %s -I %S | FileCheck %s
Pattern BeforeIncludedPattern {
erase _: Op;
}
#include "include/included.pdll"
Pattern AfterIncludedPattern {
erase _: Op;
}
// CHECK: PatternDecl {{.*}} Name<BeforeIncludedPattern>
// CHECK: PatternDecl {{.*}} Name<IncludedPattern>
// CHECK: PatternDecl {{.*}} Name<AfterIncludedPattern>