xref: /llvm-project/mlir/examples/standalone/test/Standalone/dummy.mlir (revision 83e9ef7e519a2eac56609268a10e88b251d87e15)
1// RUN: standalone-opt %s | standalone-opt | FileCheck %s
2
3module {
4    // CHECK-LABEL: func @bar()
5    func.func @bar() {
6        %0 = arith.constant 1 : i32
7        // CHECK: %{{.*}} = standalone.foo %{{.*}} : i32
8        %res = standalone.foo %0 : i32
9        return
10    }
11
12    // CHECK-LABEL: func @standalone_types(%arg0: !standalone.custom<"10">)
13    func.func @standalone_types(%arg0: !standalone.custom<"10">) {
14        return
15    }
16}
17