xref: /llvm-project/mlir/test/Dialect/PDL/invalid-types.mlir (revision 79f736c150c5a533f836727cb247a72f9ad96096)
1// RUN: mlir-opt %s -split-input-file -verify-diagnostics
2
3//===----------------------------------------------------------------------===//
4// pdl::RangeType
5//===----------------------------------------------------------------------===//
6
7// expected-error@below {{element of pdl.range cannot be another range, but got'!pdl.range<value>'}}
8#invalid_element = !pdl.range<range<value>>
9