brintos

brintos / llvm-project-archived public Read only

0
0
Text · 569 B · d0bbc0c Raw
16 lines · plain
1// RUN: mlir-pdll %s -I %S -I %S/../../../include -d=%t -o %t.cpp.inc2// RUN: FileCheck %s < %t3 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 includes10// 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.pdll15// CHECK-SAME: include/ops.td16