xref: /llvm-project/mlir/examples/standalone/test/Standalone/standalone-plugin.mlir (revision 66fc381af3b2eac71a8a4779e23b266841e21f23)
1// RUN: mlir-opt %s --load-dialect-plugin=%standalone_libs/StandalonePlugin%shlibext --pass-pipeline="builtin.module(standalone-switch-bar-foo)" | FileCheck %s
2
3module {
4  // CHECK-LABEL: func @foo()
5  func.func @bar() {
6    return
7  }
8
9  // CHECK-LABEL: func @standalone_types(%arg0: !standalone.custom<"10">)
10  func.func @standalone_types(%arg0: !standalone.custom<"10">) {
11    return
12  }
13}
14