1// RUN: mlir-pdll %s -I %S -I %S/../../../include -d=%t -o %t.cpp.inc 2// RUN: FileCheck %s < %t 3 4// Test support for generating dependency files. 5 6#include "include/ops.td" 7#include "include/included.pdll" 8 9// Check that we depend on the included files. We don't check for all transitive includes 10// here to avoid the need to update this test every time we add a new transitive include. 11// This test is mostly aimed to ensure we are generating the dependency file correctly. 12 13// CHECK: {{.*}}.cpp.inc: 14// CHECK-SAME: include/included.pdll 15// CHECK-SAME: include/ops.td 16