1// RUN: mlir-opt %s -test-pdll-pass | FileCheck %s 2 3// CHECK-LABEL: func @simpleTest 4func.func @simpleTest() { 5 // CHECK: test.success 6 "test.simple"() : () -> () 7 return 8} 9 10// CHECK-LABEL: func @testImportedInterface 11func.func @testImportedInterface() -> i1 { 12 // CHECK: test.non_cast 13 // CHECK: test.success 14 "test.non_cast"() : () -> () 15 %value = "builtin.unrealized_conversion_cast"() : () -> (i1) 16 return %value : i1 17} 18