13 lines · plain
1// RUN: mlir-opt %s | FileCheck %s2// check parser3// RUN: mlir-opt %s | mlir-opt | FileCheck %s4 5// CHECK-LABEL: func @opaque_attrs() {6func.func @opaque_attrs() {7 // CHECK-NEXT: #emitc.opaque<"attr">8 emitc.call_opaque "f"() {args = [#emitc.opaque<"attr">]} : () -> ()9 // CHECK-NEXT: #emitc.opaque<"\22quoted_attr\22">10 emitc.call_opaque "f"() {args = [#emitc.opaque<"\"quoted_attr\"">]} : () -> ()11 return12}13