blob: 6f90c3c780518e625f5d3ebaab2915950fe7f885 [file] [log] [blame]
// RUN: mlir-opt %s -test-recursive-types | FileCheck %s
// CHECK-LABEL: @roundtrip
func @roundtrip() {
// CHECK: !test.test_rec<a, test_rec<b, test_type>>
"test.dummy_op_for_roundtrip"() : () -> !test.test_rec<a, test_rec<b, test_type>>
// CHECK: !test.test_rec<c, test_rec<c>>
"test.dummy_op_for_roundtrip"() : () -> !test.test_rec<c, test_rec<c>>
return
}
// CHECK-LABEL: @create
func @create() {
// CHECK: !test.test_rec<some_long_and_unique_name, test_rec<some_long_and_unique_name>>
return
}